Commit 02bdf745 by 宋毅

tj

parent 80c3d825
...@@ -21,21 +21,22 @@ class utilsTlBankSve extends AppServiceBase { ...@@ -21,21 +21,22 @@ class utilsTlBankSve extends AppServiceBase {
async getH5AliDingPayInfo(pobj, actionBody) { async getH5AliDingPayInfo(pobj, actionBody) {
var payParam = await this.apppaliparamDao.getItemByUAppId(pobj.appInfo.uapp_id); var payParam = await this.apppaliparamDao.getItemByUAppId(pobj.appInfo.uapp_id);
if (!payParam) { if (!payParam) {
return { status: -310, msg: "应用没有对应的支付凭证" } return { status: -310, msg: "应用没有对应的支付凭证" };
} }
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(),//可为空
out_trade_no: actionBody.order_num, out_trade_no: actionBody.order_num,
subject: actionBody.body_desc, subject: actionBody.body_desc,
payment_type: "1", payment_type: "1",
seller_id: payParam.seller_id, seller_id: payParam.seller_id,
total_fee: actionBody.total_fee, total_fee: actionBody.total_fee,
body: actionBody.body_desc,
sign_type: "RSA" sign_type: "RSA"
}; };
var signStr = await this.getCreateAliSignStr(payParam, parameters); var signStr = await this.getCreateAliSignStr(payParam, parameters);
parameters.sign = signStr; parameters.sign = signStr;
return system.getResultSuccess(parameters); return system.getResultSuccess(parameters);
......
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