Commit 83b55159 by 王昆

gsb

parent ae0ccada
...@@ -533,7 +533,7 @@ class BpoSDPJApi { ...@@ -533,7 +533,7 @@ class BpoSDPJApi {
console.log("-----response smart transfer ------------", rs.data); console.log("-----response smart transfer ------------", rs.data);
if (rs.data.code === 0) { if (rs.data.code === 0) {
cashInfo.trade_status = "01"; cashInfo.trade_status = "01";
cashInfo.trade_desc = "提现申请成功"; cashInfo.trade_desc = "领取中";
try { try {
// 张娇强烈要求 // 张娇强烈要求
let item = await this.getActualAmt(cashInfo, api); let item = await this.getActualAmt(cashInfo, api);
...@@ -543,12 +543,12 @@ class BpoSDPJApi { ...@@ -543,12 +543,12 @@ class BpoSDPJApi {
} }
await cashInfo.save(); await cashInfo.save();
// 1 认证页面 2 二维码已失效 3 红包领取页面 4 红包领取结果页面(心跳查询) 5 红包已被领取 // 1 认证页面 2 二维码已失效 3 红包领取页面 4 红包领取结果页面(心跳查询) 5 红包已被领取
return this.getSuccessResult("提现成功", {redirect_code: 4}); return this.getSuccessResult("领取中", {redirect_code: 4});
} else { } else {
cashInfo.trade_status = "02"; cashInfo.trade_status = "02";
cashInfo.trade_desc = rs.data.msg || "提现申请失败"; cashInfo.trade_desc = "领取失败";
await cashInfo.save(); await cashInfo.save();
return this.getSuccessResult(rs.data.msg || "领取失败", {redirect_code: 6}); return this.getSuccessResult("领取失败", {redirect_code: 6});
} }
} catch (error) { } catch (error) {
console.log(error); console.log(error);
......
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