Commit d0f8dad1 by 宋毅

tj

parent 6dde410c
......@@ -26,7 +26,7 @@ class utilsTlBankSve extends AppServiceBase {
partner: payParam.partner,
_input_charset: "UTF-8",
notify_url: payParam.notify_url,
app_id: pobj.appInfo.uapp_id.toString() + "-" + actionBody.product_id.toString(),//可为空
// app_id: pobj.appInfo.uapp_id.toString() + "-" + actionBody.product_id.toString(),//可为空
out_trade_no: actionBody.order_num,
subject: actionBody.body_desc,
body: actionBody.body_desc,
......@@ -69,13 +69,14 @@ class utilsTlBankSve extends AppServiceBase {
if ((!params[key]) || key == "sign" || key == "sign_type") {
continue;
};
if (key === "subject" || key === "body") {
sPara.push([key, "\"" + encodeURIComponent(params[key]) + "\""]);
} else {
sPara.push([key, "\"" + params[key] + "\""]);
}
sPara.push([key, "\"" + params[key] + "\""]);
// if (key === "subject" || key === "body") {
// sPara.push([key, "\"" + encodeURIComponent(params[key]) + "\""]);
// } else {
// sPara.push([key, "\"" + params[key] + "\""]);
// }
}
// sPara = sPara.sort();
sPara = sPara.sort();
var prestr = '';
for (var i2 = 0; i2 < sPara.length; i2++) {
var obj = sPara[i2];
......
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