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
83982219
Commit
83982219
authored
May 27, 2020
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
28c1fc2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
xgg-saas-platform/app/base/service/impl/saas/orderSve.js
+4
-3
No files found.
xgg-saas-platform/app/base/service/impl/saas/orderSve.js
View file @
83982219
...
...
@@ -43,7 +43,7 @@ class OrderService extends ServiceBase {
console
.
log
(
JSON
.
stringify
(
rs
));
if
(
params
.
audit_status
==
"20"
&&
rs
.
status
===
0
&&
params
.
ids
&&
params
.
ids
.
length
>
0
)
{
for
(
let
id
of
params
.
ids
)
{
this
.
pushOrderToDeliver
(
id
,
params
.
deliver_id
);
this
.
pushOrderToDeliver
(
id
,
params
.
deliver_id
,
params
);
}
}
return
rs
;
...
...
@@ -54,7 +54,7 @@ class OrderService extends ServiceBase {
* @param id
* @returns {Promise<void>}
*/
async
pushOrderToDeliver
(
id
,
deliver_id
)
{
async
pushOrderToDeliver
(
id
,
deliver_id
,
params
)
{
console
.
log
(
"推送参数 "
+
id
+
"===>"
+
deliver_id
)
let
order
=
await
this
.
callms
(
"order"
,
"saasOrderInfo"
,
{
id
:
id
})
||
{};
...
...
@@ -78,7 +78,8 @@ class OrderService extends ServiceBase {
guest_mail_mobile
:
order
.
saasOrderDeliverInfo
.
deliver_mobile
||
""
,
saas_id
:
order
.
saas_id
,
deliver_id
:
deliver_id
,
price
:
order
.
price
||
0
price
:
order
.
price
||
0
,
chooseItems
:
params
.
service_items
||
[]
};
console
.
log
(
"推送订单到交付平台参数"
+
JSON
.
stringify
(
data
))
// 推送订单到交付平台
...
...
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