Commit e219cc17 by 宋毅

tj

parent cbd0dc87
...@@ -120,9 +120,10 @@ class OrderService extends ServiceBase { ...@@ -120,9 +120,10 @@ class OrderService extends ServiceBase {
}); });
}); });
} }
//更新订单状态 //关联订单对应的需求ID和需求订单号--渠道web用
async updateOrderStatus(action_body, pobj, req) { async updateOrderStatus(action_body, pobj, req) {
var setObj = { channelServiceNo: action_body.channelServiceNo, needNo: action_body.needNo, needNoOrderNo: action_body.needNoOrderNo }; // var setObj = { channelServiceNo: action_body.channelServiceNo, needNo: action_body.needNo, needNoOrderNo: action_body.needNoOrderNo };
var setObj = { needNo: action_body.needNo, needNoOrderNo: action_body.needNoOrderNo };
var self = this; var self = this;
return await this.db.transaction(async function (t) { return await this.db.transaction(async function (t) {
await self.dao.updateByWhere(setObj, { where: { orderNo: action_body.orderNo } }, t); await self.dao.updateByWhere(setObj, { where: { orderNo: action_body.orderNo } }, t);
...@@ -130,7 +131,7 @@ class OrderService extends ServiceBase { ...@@ -130,7 +131,7 @@ class OrderService extends ServiceBase {
return system.getResultSuccess(); return system.getResultSuccess();
}); });
} }
//更新付款状态 //更新付款状态--渠道web用
async updateOrderPayStatus(action_body, pobj, req) { async updateOrderPayStatus(action_body, pobj, req) {
var payStatus = action_body.payStatus || "dfk"; var payStatus = action_body.payStatus || "dfk";
var self = this; var self = this;
......
...@@ -51,7 +51,7 @@ var settings = { ...@@ -51,7 +51,7 @@ var settings = {
}, },
pushFqbossDataUrl: function () { pushFqbossDataUrl: function () {
if (this.env == "dev") { if (this.env == "dev") {
return "http://192.168.18.141:3000/";//localsettings.reqEsDevUrl; return "http://192.168.18.32:3000/";//localsettings.reqEsDevUrl;
} else { } else {
return "https://fqgirl.gongsibao.com/"; return "https://fqgirl.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