Commit 7029e472 by 王昆

gsb

parent cb67a738
......@@ -33,8 +33,10 @@ class OrderService extends ServiceBase {
async audit(params) {
var rs = await this.callms("order", "saasOrderBulkAudit", params);
if(params.audit_status == "20" && rs.status === 0) {
this.pushOrderToDeliver(params.id);
if(params.audit_status == "20" && rs.status === 0 && params.ids && params.ids.length > 0) {
for(let id of params.ids) {
this.pushOrderToDeliver(id);
}
}
return rs;
}
......
......@@ -182,7 +182,7 @@ class System {
// merchant: "http://127.0.0.1:3101" + path,
// 订单服务
order: local + ":3103" + path,
order: dev + ":3103" + path,
// order: "http://127.0.0.1:3103" + path,
// 发票服务
......
......@@ -90,7 +90,7 @@ var settings = {
deliverSysApi: function () {
let domain = "";
if (this.env == "dev") {
domain = "http://127.0.0.1:3002";
domain = "http://39.107.234.14:3002";
} else {
domain = "https://xggadmin.gongsibao.com";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment