Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
9fb13662
Commit
9fb13662
authored
Dec 25, 2019
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
bc86a6ed
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
9 deletions
+21
-9
igirl-channel/app/base/api/impl/action/receiveData.js
+3
-0
igirl-channel/app/base/api/impl/action/tmOrder.js
+12
-9
igirl-channel/app/base/api/impl/action/tmQuery.js
+3
-0
igirl-channel/app/base/api/impl/action/tmTools.js
+3
-0
No files found.
igirl-channel/app/base/api/impl/action/receiveData.js
View file @
9fb13662
...
...
@@ -37,6 +37,9 @@ class ReceiveDataAPI extends APIBase {
case
"1688"
:
//1688
result
=
await
this
.
opActionProcess
(
pobj
.
actionProcess
,
pobj
.
actionType
,
pobj
.
actionBody
,
pobj
,
req
);
break
;
case
"gsb"
:
//gsb
result
=
await
this
.
opActionProcess
(
pobj
.
actionProcess
,
pobj
.
actionType
,
pobj
.
actionBody
,
pobj
,
req
);
break
;
default
:
result
=
system
.
getResult
(
null
,
"actionProcess参数错误"
);
break
;
...
...
igirl-channel/app/base/api/impl/action/tmOrder.js
View file @
9fb13662
...
...
@@ -38,6 +38,9 @@ class TmOrderAPI extends APIBase {
case
"1688"
:
//1688
result
=
await
this
.
opActionProcess
(
pobj
.
actionProcess
,
pobj
.
actionType
,
pobj
.
actionBody
,
pobj
,
req
);
break
;
case
"gsb"
:
//1688
result
=
await
this
.
opActionProcess
(
pobj
.
actionProcess
,
pobj
.
actionType
,
pobj
.
actionBody
,
pobj
,
req
);
break
;
default
:
result
=
system
.
getResult
(
null
,
"actionProcess参数错误"
);
break
;
...
...
@@ -70,7 +73,7 @@ class TmOrderAPI extends APIBase {
if
(
opResult
.
status
==
0
)
{
pobj
.
actionBody
[
"deliveryOrderNo"
]
=
opResult
.
data
.
deliveryOrderNo
;
var
url
=
this
.
pushFqbossDataUrl
+
"api/channelaccessApi/updateChannelPayStatus"
;
await
this
.
pushData2
(
opResult
,
req
,
pobj
,
url
);
this
.
pushData2
(
opResult
,
req
,
pobj
,
url
);
}
break
;
case
"addOrderAndDelivery"
:
//创建订单和交付单
...
...
@@ -122,7 +125,7 @@ class TmOrderAPI extends APIBase {
pobj
.
actionBody
[
"itemCode"
]
=
opResult
.
data
.
channelItemCode
;
// await this.pushData(opResult, req, pobj);
var
url
=
this
.
pushFqbossDataUrl
+
"api/channelaccessApi/createChannelOrder"
await
this
.
pushData2
(
opResult
,
req
,
pobj
,
url
);
this
.
pushData2
(
opResult
,
req
,
pobj
,
url
);
}
break
;
case
"subExistTmOrder"
:
//提交存在商标提报
...
...
@@ -142,7 +145,7 @@ class TmOrderAPI extends APIBase {
pobj
.
actionBody
[
"itemCode"
]
=
opResult
.
data
.
channelItemCode
;
// await this.pushData(opResult, req, pobj);
var
url
=
this
.
pushFqbossDataUrl
+
"api/channelaccessApi/createChannelOrder"
await
this
.
pushData2
(
opResult
,
req
,
pobj
,
url
);
this
.
pushData2
(
opResult
,
req
,
pobj
,
url
);
}
break
;
case
"getTmOrderList"
:
//商标交付列表
...
...
@@ -166,7 +169,7 @@ class TmOrderAPI extends APIBase {
if
(
opResult
&&
opResult
.
status
==
0
)
{
// await this.pushData(opResult, req, pobj);
var
url
=
this
.
pushFqbossDataUrl
+
"api/channelaccessApi/updateChannelTmInfo"
await
this
.
pushData2
(
opResult
,
req
,
pobj
,
url
);
this
.
pushData2
(
opResult
,
req
,
pobj
,
url
);
}
break
;
case
"updateNclInfo"
:
//修改商标订单-商标尼斯信息修改
...
...
@@ -174,7 +177,7 @@ class TmOrderAPI extends APIBase {
if
(
opResult
&&
opResult
.
status
==
0
)
{
// await this.pushData(opResult, req, pobj);
var
url
=
this
.
pushFqbossDataUrl
+
"api/channelaccessApi/updateChannelNclInfo"
await
this
.
pushData2
(
opResult
,
req
,
pobj
,
url
);
this
.
pushData2
(
opResult
,
req
,
pobj
,
url
);
}
break
;
case
"updateContacts"
:
//修改商标订单-修改商标交付单联系人
...
...
@@ -182,7 +185,7 @@ class TmOrderAPI extends APIBase {
if
(
opResult
&&
opResult
.
status
==
0
)
{
// await this.pushData(opResult, req, pobj);
var
url
=
this
.
pushFqbossDataUrl
+
"api/channelaccessApi/updateChannelContacts"
await
this
.
pushData2
(
opResult
,
req
,
pobj
,
url
);
this
.
pushData2
(
opResult
,
req
,
pobj
,
url
);
}
break
;
case
"updateCustomerInfo"
:
//修改商标订单-修改申请人信息
...
...
@@ -190,7 +193,7 @@ class TmOrderAPI extends APIBase {
if
(
opResult
&&
opResult
.
status
==
0
)
{
// await this.pushData(opResult, req, pobj);
var
url
=
this
.
pushFqbossDataUrl
+
"api/channelaccessApi/updateChannelCustomerInfo"
await
this
.
pushData2
(
opResult
,
req
,
pobj
,
url
);
this
.
pushData2
(
opResult
,
req
,
pobj
,
url
);
}
break
;
case
"updateOfficial"
:
//修改商标订单-修改交官文件
...
...
@@ -198,14 +201,14 @@ class TmOrderAPI extends APIBase {
if
(
opResult
&&
opResult
.
status
==
0
)
{
// await this.pushData(opResult, req, pobj);
var
url
=
this
.
pushFqbossDataUrl
+
"api/channelaccessApi/updateChannelOfficial"
await
this
.
pushData2
(
opResult
,
req
,
pobj
,
url
);
this
.
pushData2
(
opResult
,
req
,
pobj
,
url
);
}
break
;
case
"tmConfirm"
:
//商标方案确认
opResult
=
await
this
.
ordertmproductSve
.
tmConfirm
(
action_body
);
if
(
opResult
&&
opResult
.
status
==
0
)
{
var
url
=
this
.
pushFqbossDataUrl
+
"api/channelaccessApi/channelTmConfirm"
await
this
.
pushData2
(
opResult
,
req
,
pobj
,
url
);
this
.
pushData2
(
opResult
,
req
,
pobj
,
url
);
}
break
;
case
"pushFqBusiness"
:
//推送商机到峰擎
...
...
igirl-channel/app/base/api/impl/action/tmQuery.js
View file @
9fb13662
...
...
@@ -29,6 +29,9 @@ class TmQueryAPI extends APIBase {
case
"1688"
:
result
=
await
this
.
opActionProcess
(
pobj
.
actionProcess
,
pobj
.
actionType
,
pobj
.
actionBody
,
req
);
break
;
case
"gsb"
:
result
=
await
this
.
opActionProcess
(
pobj
.
actionProcess
,
pobj
.
actionType
,
pobj
.
actionBody
,
req
);
break
;
default
:
result
=
system
.
getResult
(
null
,
"actionProcess参数错误"
);
break
;
...
...
igirl-channel/app/base/api/impl/action/tmTools.js
View file @
9fb13662
...
...
@@ -26,6 +26,9 @@ class TmToolsAPI extends APIBase {
case
"1688"
:
result
=
await
this
.
opActionProcess
(
pobj
.
actionProcess
,
pobj
.
actionType
,
pobj
.
actionBody
,
req
);
break
;
case
"gsb"
:
result
=
await
this
.
opActionProcess
(
pobj
.
actionProcess
,
pobj
.
actionType
,
pobj
.
actionBody
,
req
);
break
;
default
:
result
=
system
.
getResult
(
null
,
"actionProcess参数错误"
);
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment