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
87ced51b
Commit
87ced51b
authored
Nov 09, 2019
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
2e2807f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
igirl-channel/app/base/api/impl/action/tmOrder.js
+11
-0
igirl-channel/app/base/service/impl/dborder/ordertmproductSve.js
+4
-0
No files found.
igirl-channel/app/base/api/impl/action/tmOrder.js
View file @
87ced51b
...
...
@@ -12,6 +12,7 @@ class TmOrderAPI extends APIBase {
this
.
zcApiUrl
=
settings
.
reqZcApi
();
this
.
pushFqbossDataUrl
=
settings
.
pushFqbossDataUrl
();
this
.
pushlogSve
=
system
.
getObject
(
"service.common.pushlogSve"
);
this
.
toolSve
=
system
.
getObject
(
"service.trademark.toolSve"
);
}
/**
* 接口跳转-POST请求
...
...
@@ -49,6 +50,16 @@ class TmOrderAPI extends APIBase {
case
"test"
:
//测试
opResult
=
system
.
getResultSuccess
(
null
,
"测试成功"
);
break
;
case
"op1688ChannelPushOrder"
:
//处理渠道订单信息
opResult
=
await
this
.
ordertmproductSve
.
op1688ChannelPushOrder
(
action_body
);
if
(
opResult
.
status
==
0
)
{
opResult
.
data
=
null
;
var
encryptResult
=
await
this
.
toolSve
.
encryptStr
(
req
.
app
,
action_body
.
channelUserId
);
if
(
encryptResult
.
status
&&
encryptResult
.
data
&&
encryptResult
.
data
!=
"undefined"
)
{
opResult
.
data
=
encryptResult
.
data
;
}
}
break
;
case
"get1688ChannelOrderInfo"
:
//获取渠道订单信息
opResult
=
await
this
.
ordertmproductSve
.
get1688ChannelOrder
(
action_body
);
break
;
...
...
igirl-channel/app/base/service/impl/dborder/ordertmproductSve.js
View file @
87ced51b
...
...
@@ -339,6 +339,10 @@ class OrderTmProductService extends ServiceBase {
}
//------------------------------------------创建订单--------------------结束------------------------
async
op1688ChannelPushOrder
(
action_body
)
{
return
system
.
getResultSuccess
();
}
async
get1688ChannelOrder
(
action_body
)
{
var
orderItem
=
await
this
.
orderDao
.
getItemByChannelServiceNo
(
action_body
.
channelOrderNo
,
action_body
.
app
.
id
);
if
(
!
orderItem
)
{
...
...
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