Commit f15d997f by 王昆

gsb

parent 19a43cc8
...@@ -756,7 +756,7 @@ class BpoSDPJApi { ...@@ -756,7 +756,7 @@ class BpoSDPJApi {
} }
for (let id of ids) { for (let id of ids) {
try { try {
this.syncOneCashAmt(id.id); await this.syncOneCashAmt(id.id);
} catch (e) { } catch (e) {
console.log('------------testCashAmtTaskByIds------------error', e); console.log('------------testCashAmtTaskByIds------------error', e);
} }
...@@ -911,6 +911,7 @@ class BpoSDPJApi { ...@@ -911,6 +911,7 @@ class BpoSDPJApi {
cashInfo.trade_desc = "交易成功"; cashInfo.trade_desc = "交易成功";
await cashInfo.save(); await cashInfo.save();
this.notifyCash(cashInfo.id); this.notifyCash(cashInfo.id);
this.syncOneCashAmt(cashInfo.id);
return {code: "0000"}; return {code: "0000"};
} else if (respTradeStatus == "02" || respTradeStatus == "03") { } else if (respTradeStatus == "02" || respTradeStatus == "03") {
cashInfo.trade_status = "02"; cashInfo.trade_status = "02";
......
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