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
111aa48a
Commit
111aa48a
authored
Mar 23, 2021
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单产品
parent
f52d3e76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
+15
-0
No files found.
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
View file @
111aa48a
...
@@ -1608,6 +1608,21 @@ class UtilsOrderService extends AppServiceBase {
...
@@ -1608,6 +1608,21 @@ class UtilsOrderService extends AppServiceBase {
}
}
async
receiveAliTmOrder
(
pobj
,
actionBody
)
{
async
receiveAliTmOrder
(
pobj
,
actionBody
)
{
if
(
!
actionBody
.
channelItemCode
)
{
return
system
.
getResult
(
null
,
"产品编码有误,100010"
);
}
pobj
.
actionType
=
"getProductDetail"
;
var
url
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
var
productItemResult
=
await
this
.
execPostByTimeOut
(
null
,
pobj
,
url
);
if
(
productItemResult
.
status
!=
0
)
{
return
productItemResult
;
}
if
(
productItemResult
.
data
.
status
!=
0
)
{
return
productItemResult
.
data
;
}
pobj
.
productInfo
=
productItemResult
.
data
.
data
;
pobj
.
productInfo
.
price_item
=
pobj
.
productInfo
.
price_list
[
0
];
pobj
.
actionType
=
"receiveAliTmOrder"
;
var
reqUrl
=
this
.
centerOrderUrl
+
"action/order/springBoard"
;
var
reqUrl
=
this
.
centerOrderUrl
+
"action/order/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
result
;
return
result
;
...
...
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