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
44756468
Commit
44756468
authored
May 19, 2020
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
17d9a037
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
8 deletions
+9
-8
xgg-saas-platform/app/base/service/impl/common/deliverSve.js
+1
-1
xgg-saas-platform/app/base/service/impl/saas/orderSve.js
+4
-3
xgg-saas-platform/app/base/system.js
+2
-2
xgg-saas-platform/app/config/settings.js
+2
-2
No files found.
xgg-saas-platform/app/base/service/impl/common/deliverSve.js
View file @
44756468
...
...
@@ -13,7 +13,7 @@ class DeliverService extends ServiceBase {
}
async
all
(
params
)
{
var
rs
=
await
this
.
callms
(
"common"
,
"deliverAll"
,
{}
);
var
rs
=
await
this
.
callms
(
"common"
,
"deliverAll"
,
params
);
await
this
.
doPercent
(
rs
.
data
);
return
rs
;
}
...
...
xgg-saas-platform/app/base/service/impl/saas/orderSve.js
View file @
44756468
...
...
@@ -41,7 +41,7 @@ class OrderService extends ServiceBase {
if
(
params
.
audit_status
==
"20"
&&
rs
.
status
===
0
&&
params
.
ids
&&
params
.
ids
.
length
>
0
)
{
for
(
let
id
of
params
.
ids
)
{
this
.
pushOrderToDeliver
(
id
);
this
.
pushOrderToDeliver
(
id
,
params
.
deliver_id
);
}
}
return
rs
;
...
...
@@ -52,7 +52,7 @@ class OrderService extends ServiceBase {
* @param id
* @returns {Promise<void>}
*/
async
pushOrderToDeliver
(
id
)
{
async
pushOrderToDeliver
(
id
,
deliver_id
)
{
let
order
=
await
this
.
callms
(
"order"
,
"saasOrderInfo"
,
{
id
:
id
})
||
{};
order
=
order
.
data
;
if
(
!
order
)
{
...
...
@@ -71,7 +71,8 @@ class OrderService extends ServiceBase {
guest_mail_addr
:
order
.
saasOrderDeliverInfo
.
deliver_addr
||
""
,
guest_mail_to
:
order
.
saasOrderDeliverInfo
.
deliver_man
||
""
,
guest_mail_mobile
:
order
.
saasOrderDeliverInfo
.
deliver_mobile
||
""
,
saas_id
:
order
.
saas_id
saas_id
:
order
.
saas_id
,
deliver_id
:
deliver_id
};
// 推送订单到交付平台
...
...
xgg-saas-platform/app/base/system.js
View file @
44756468
...
...
@@ -200,13 +200,13 @@ class System {
order
:
local
+
":3103"
+
path
,
// 发票服务
invoice
:
local
+
":3105"
+
path
,
invoice
:
dev
+
":3105"
+
path
,
// 用户服务
uc
:
dev
+
":3106"
+
path
,
// 交易
trade
:
local
+
":3107"
+
path
,
trade
:
dev
+
":3107"
+
path
,
}
}
else
{
return
{
...
...
xgg-saas-platform/app/config/settings.js
View file @
44756468
...
...
@@ -91,8 +91,8 @@ var settings = {
deliverSysApi
:
function
()
{
let
domain
=
""
;
if
(
this
.
env
==
"dev"
)
{
domain
=
"http://39.107.234.14:3002"
;
// domain = "http://127.0.0.1:300
2";
//
domain = "http://39.107.234.14:3002";
domain
=
"http://127.0.0.1:311
2"
;
}
else
{
domain
=
"https://xggadmin.gongsibao.com"
;
}
...
...
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