Commit 2107b866 by 宋毅

tj

parent 2caaa803
...@@ -108,14 +108,14 @@ class utilsTlBankSve { ...@@ -108,14 +108,14 @@ class utilsTlBankSve {
-400:请求接口请求返回值错误 -400:请求接口请求返回值错误
-410:请求结算接口返回空 -410:请求结算接口返回空
*/ */
async getQrCode(app_id, order_num, total_fee, body_desc, opType) {//获取微信支付二维码 async getQrCode(app_id, order_num, total_fee, body_desc, op_type) {//获取微信支付二维码
// var payParam = await this.companypayparamDao.getOneByCompanyId(company_id, 1); // var payParam = await this.companypayparamDao.getOneByCompanyId(company_id, 1);
var payParam = await this.getpaymentinfo(app_id); var payParam = await this.getpaymentinfo(app_id);
if (!payParam) { if (!payParam) {
return { status: -210, msg: "应用没有对应的支付凭证" } return { status: -210, msg: "应用没有对应的支付凭证" }
} }
var reqMethod = this.wxMethod; var reqMethod = this.wxMethod;
if (opType == "alipay") { if (op_type == "alipay") {
reqMethod = this.aliMethod; reqMethod = this.aliMethod;
} }
var timestamp = Date.now(); var timestamp = Date.now();
......
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