Commit 216dfc62 by 王昆

gsb

parent b7af1dba
...@@ -365,7 +365,7 @@ class BpoSDPJApi { ...@@ -365,7 +365,7 @@ class BpoSDPJApi {
} }
if (ccashinfo.trade_status) { if (ccashinfo.trade_status) {
return this.getErrResult("已提现,不要重复提现"); return this.getErrResult("已 提现,不要重复提现");
} }
let api = await this.ecompanybusiSve.findOne({ let api = await this.ecompanybusiSve.findOne({
...@@ -430,6 +430,14 @@ class BpoSDPJApi { ...@@ -430,6 +430,14 @@ class BpoSDPJApi {
} }
async cashOut(cashInfo, api) { async cashOut(cashInfo, api) {
if (cashInfo.qrcode_status != 1) {
return this.getErrResult("二维码已作废,禁止提现");
}
if (cashInfo.trade_status) {
return this.getErrResult("已提现,不要重复提现");
}
console.log("张娇要看的时间发起提现---------------------------", obj.outTradeNo, new Date().getTime());
// 发起交易 // 发起交易
let bizContent = []; let bizContent = [];
bizContent.push({ bizContent.push({
...@@ -569,6 +577,7 @@ class BpoSDPJApi { ...@@ -569,6 +577,7 @@ class BpoSDPJApi {
} }
async wxnotify(obj, req) { async wxnotify(obj, req) {
console.log("张娇要看的时间发起提现后回调时间---------------------------", obj.outTradeNo, new Date().getTime());
console.log("------------- wx-sdpj转账回调 --------------" , obj); console.log("------------- wx-sdpj转账回调 --------------" , obj);
try { try {
// 1. 获取转账二维码信息 // 1. 获取转账二维码信息
......
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