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
1e116783
Commit
1e116783
authored
Feb 20, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
55c2b0ff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
igirl-channel/app/base/api/impl/action/tmOrder.js
+1
-0
igirl-channel/app/base/service/impl/dborder/orderSve.js
+2
-2
No files found.
igirl-channel/app/base/api/impl/action/tmOrder.js
View file @
1e116783
...
...
@@ -65,6 +65,7 @@ class TmOrderAPI extends APIBase {
// sy
case
"jdAddQifuOrder"
:
pobj
.
actionBody
.
quantity
=
1
;
pobj
.
actionBody
.
channelOrder
=
{};
pobj
.
actionBody
.
channelOrder
.
channelServiceNo
=
pobj
.
actionBody
.
needNo
;
pobj
.
actionBody
.
channelOrder
.
channelOrderNo
=
pobj
.
actionBody
.
needNoOrderNo
;
pobj
.
actionBody
.
channelOrder
.
payTime
=
new
Date
();
...
...
igirl-channel/app/base/service/impl/dborder/orderSve.js
View file @
1e116783
...
...
@@ -947,7 +947,7 @@ class OrderService extends ServiceBase {
* @param {*} pobj
* @param {*} actionBody
*/
async
addQifuOrder
(
pobj
,
actionBody
,
app
)
{
async
addQifuOrder
(
pobj
,
actionBody
,
req
)
{
if
(
!
actionBody
.
channelItemCode
)
{
return
system
.
getResult
(
null
,
"actionBody.channelItemCode can not be empty"
);
}
...
...
@@ -955,7 +955,7 @@ class OrderService extends ServiceBase {
return
system
.
getResult
(
null
,
"actionBody.quantity can not be empty"
);
}
var
token
=
""
;
var
tokenRes
=
await
this
.
getCenterChannelToken
(
app
);
var
tokenRes
=
await
this
.
getCenterChannelToken
(
req
.
app
);
if
(
tokenRes
&&
tokenRes
.
status
==
0
&&
tokenRes
.
data
)
{
token
=
tokenRes
.
data
.
token
;
}
...
...
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