Commit 05a71c48 by 王昆

gsb

parent 4c458035
...@@ -775,15 +775,19 @@ class BpoSDPJApi { ...@@ -775,15 +775,19 @@ class BpoSDPJApi {
idName: ccashinfo.id_name, idName: ccashinfo.id_name,
idNo: ccashinfo.id_no, idNo: ccashinfo.id_no,
tradeStatus: ccashinfo.trade_status, tradeStatus: ccashinfo.trade_status,
tradeDesc: ccashinfo.trade_desc,
nonceStr: await this.getUidStr(32, 36), nonceStr: await this.getUidStr(32, 36),
}; };
let sign = system.getSign(param, api.key, this.EXCEPT_KEYS) let sign = system.getSign(param, api.key, this.EXCEPT_KEYS)
param.sign = sign; param.sign = sign;
console.log(`推送${ccashinfo.outTradeNo}--begin----`, ccashinfo.notify_url, await param);
let rs = await axios({ let rs = await axios({
method: 'post', method: 'post',
url: ccashinfo.notify_url, url: ccashinfo.notify_url,
data: param, data: param,
}); });
console.log(`推送${ccashinfo.outTradeNo}--result----`, rs.data);
return rs.data; return rs.data;
} catch (e) { } catch (e) {
console.log(e); console.log(e);
......
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