Commit f2fdfcf5 by 孙亚楠

d

parent 14c999f5
...@@ -114,10 +114,10 @@ class BpoSDPJApi { ...@@ -114,10 +114,10 @@ class BpoSDPJApi {
} }
if (!_cCashInfo.id) { if (!_cCashInfo.id) {
_cCashInfo.app_type = _ecompanybusi.app_type; _cCashInfo.app_type = api.app_type;
_cCashInfo.outTradeNo = obj.outTradeNo; _cCashInfo.outTradeNo = obj.outTradeNo;
_cCashInfo.mchtId = obj.mchtId; _cCashInfo.mchtId = obj.mchtId;
_cCashInfo.ecid = _ecompanybusi.etemplate_id; _cCashInfo.ecid = api.etemplate_id;
_cCashInfo.app_id = obj.appId; _cCashInfo.app_id = obj.appId;
_cCashInfo.amt = Number(obj.amt || 0); _cCashInfo.amt = Number(obj.amt || 0);
_cCashInfo.idName = this.trim(obj.idName) || ""; _cCashInfo.idName = this.trim(obj.idName) || "";
...@@ -127,7 +127,7 @@ class BpoSDPJApi { ...@@ -127,7 +127,7 @@ class BpoSDPJApi {
} }
// 拼接h5 http连接 http//xxx?mchtId=xxx&ecid=xxx&no=id // 拼接h5 http连接 http//xxx?mchtId=xxx&ecid=xxx&no=id
let _no = await this.setNo(_cCashInfo.id); let _no = await this.setNo(_cCashInfo.id.toString());
let custormUrl = `http://bpohhr.gongsibao.com?no=${_no}&outTradeNo=${_cCashInfo.outTradeNo}&mchtId=${_cCashInfo.mchtId}`; let custormUrl = `http://bpohhr.gongsibao.com?no=${_no}&outTradeNo=${_cCashInfo.outTradeNo}&mchtId=${_cCashInfo.mchtId}`;
// 生成二维码 // 生成二维码
let url =await this.qrClient.generateQR(custormUrl); let url =await this.qrClient.generateQR(custormUrl);
......
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