Commit b5342137 by 王昆

gsb

parent 80705186
...@@ -550,8 +550,11 @@ class BpoSDPJApi { ...@@ -550,8 +550,11 @@ class BpoSDPJApi {
// let actualAmt = await this.getActualAmt(cashInfo, api); // let actualAmt = await this.getActualAmt(cashInfo, api);
// cashInfo.actual_amt = actualAmt; // cashInfo.actual_amt = actualAmt;
// await cashInfo.save(); // await cashInfo.save();
return this.getBaseResult(0, "交易完成", {complete: true, actual_amt: system.f2y(cashInfo.actual_amt)}); // 1 认证页面 2 二维码已失效 3 红包领取页面 4 红包领取结果页面(心跳查询) 5 红包已被领取
let rc = cashInfo == "00" ? 4 : 6;
return this.getBaseResult(0, "交易完成", {redirect_code : rc, trade_desc: cashInfo.trade_desc, complete: true, actual_amt: system.f2y(cashInfo.actual_amt)});
} }
// 1 认证页面 2 二维码已失效 3 红包领取页面 4 红包领取结果页面(心跳查询) 5 红包已被领取
return this.getBaseResult(0, "交易未完成", {complete: false}); return this.getBaseResult(0, "交易未完成", {complete: false});
} }
......
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