Commit 5d3ecfc3 by 庄冰

tj

parent 2f9b8929
......@@ -113,7 +113,7 @@ class utilsTlBankSve {
var jsonObj = {
appid: payParam.pay_appid,
cusid: payParam.mch_id,
trxamt: Number(total_fee),//单位为分
trxamt: parseInt(total_fee),//单位为分
reqsn: order_num + "_" + company_id.toString(),
paytype: reqMethod,
randomstr: timestamp.toString(),//随机字符串,不长于32位
......@@ -122,12 +122,6 @@ class utilsTlBankSve {
}
var param_result = await this.getReqBeforeParam(jsonObj, payParam.pay_key);
if (param_result.code != 1) {
logCtl.info({
optitle: "getQrCode------------失败信息",
op: "utilstlbankSve.js/getQrCode",
content: "参数:" + JSON.stringify(jsonObj) + ",结果:" + JSON.stringify(param_result),
clientIp: ""
});
return param_result;
}
var reqUrl = payParam.pay_url + "/pay";
......
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