Commit 70bdf581 by 宋毅

tj

parent 457e1933
......@@ -83,7 +83,7 @@ class TxPushLogService extends ServiceBase {
return self.returnTX(-1, "cgateway", "资源不存在", null)
}
var status = 0;
if (orderInfo.status == 302) {
if (orderInfo.status == 320) {
status = 3;
}
return self.returnTX(1, "cgateway", "ok", { "status": status })
......
......@@ -867,10 +867,10 @@ class OrderInfoService extends ServiceBase {
}
}
}
// var r = await this.execPostByTimeOut(o, "http://msgqueue.sandbox.com");
// if (r.status < 1) {
// return system.getResultFail(-102, "Post error");
// }
var r = await this.execPostByTimeOut(o, "http://msgqueue.sandbox.com");
if (r.status < 1) {
return system.getResultFail(-102, "Post error");
}
var self = this;
return this.db.transaction(async function (t) {
await self.update({ id: orderinfo.id, order_status: 320 }, t)
......
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