Commit 81952850 authored by 何娜's avatar 何娜

Update partner.js

parent 95eb5cb7
Pipeline #6196 passed with stage
in 9 seconds
...@@ -141,6 +141,9 @@ class PartnerService extends Service { ...@@ -141,6 +141,9 @@ class PartnerService extends Service {
ctx.logger.info(`【Partner】 notice ${notifyUrl}`, 'orderId:', orderId, 'result:', ret.status, JSON.stringify(ret.data)); ctx.logger.info(`【Partner】 notice ${notifyUrl}`, 'orderId:', orderId, 'result:', ret.status, JSON.stringify(ret.data));
if (ret.status == 200) { if (ret.status == 200) {
await order.update({ notice: 1 }); await order.update({ notice: 1 });
}else{
await order.update({ notice: Number(ret.status) });
}
} }
} }
return return
......
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