Commit d3da5eeb by 宋毅

tj

parent 42458fc2
...@@ -28,7 +28,7 @@ class utilsTlBankSve extends AppServiceBase { ...@@ -28,7 +28,7 @@ class utilsTlBankSve extends AppServiceBase {
var parameters = { var parameters = {
service: "mobile.securitypay.pay", service: "mobile.securitypay.pay",
partner: payParam.partner, partner: payParam.partner,
_input_charset: "utf-8", _input_charset: "UTF-8",
notify_url: payParam.notify_url, notify_url: payParam.notify_url,
// app_id: pobj.appInfo.uapp_id.toString(),//可为空 // app_id: pobj.appInfo.uapp_id.toString(),//可为空
out_trade_no: actionBody.order_num, out_trade_no: actionBody.order_num,
...@@ -82,13 +82,12 @@ class utilsTlBankSve extends AppServiceBase { ...@@ -82,13 +82,12 @@ class utilsTlBankSve extends AppServiceBase {
if ((!params[key]) || key == "sign" || key == "sign_type") { if ((!params[key]) || key == "sign" || key == "sign_type") {
continue; continue;
}; };
// if (key === "subject" || key === "body") { if (key === "subject" || key === "body") {
// sPara.push([key, encodeURIComponent(params[key])]); sPara.push([key, "\"" + encodeURIComponent(params[key]) + "\""]);
// } else { } else {
// sPara.push([key, params[key]]); sPara.push([key, params[key]]);
// } }
// sPara.push([key, "\"" + params[key] + "\""]);
sPara.push(["\"" + key + "\"", "\"" + params[key] + "\""]);
} }
sPara = sPara.sort(); sPara = sPara.sort();
var prestr = ''; var prestr = '';
......
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