Commit c99b0757 by 王昆

gsb

parent ceea6fef
...@@ -467,6 +467,7 @@ class BpoSDPJApi { ...@@ -467,6 +467,7 @@ class BpoSDPJApi {
cashInfo.trade_desc = rs.data.msg || "提现申请失败"; cashInfo.trade_desc = rs.data.msg || "提现申请失败";
await cashInfo.save(); await cashInfo.save();
this.ccashinfoSve.formatStatus(resData, cashInfo); this.ccashinfoSve.formatStatus(resData, cashInfo);
this.notifyCash(cashInfo.id);
return this.getSuccessResult(cashInfo.trade_desc, resData); return this.getSuccessResult(cashInfo.trade_desc, resData);
} }
} catch (error) { } catch (error) {
...@@ -541,10 +542,13 @@ class BpoSDPJApi { ...@@ -541,10 +542,13 @@ class BpoSDPJApi {
cashInfo.trade_status = "00"; cashInfo.trade_status = "00";
cashInfo.trade_desc = "交易成功"; cashInfo.trade_desc = "交易成功";
await cashInfo. save(); await cashInfo. save();
this.notifyCash(cashInfo.id);
return {code: "0000"}; return {code: "0000"};
} else if (respCode == "02") { } else if (respCode == "02") {
cashInfo.trade_status = "02"; cashInfo.trade_status = "02";
cashInfo.trade_desc = obj.respDesc || "交易失败"; cashInfo.trade_desc = obj.respDesc || "交易失败";
await cashInfo.save();
this.notifyCash(cashInfo.id);
} else { } else {
} }
return {code: ""}; return {code: ""};
......
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