From eda87ff650e90dd1c6d957f300ec052721efd65e Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Fri, 13 Oct 2023 17:46:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/fee/feeApi.js | 2 +- pages/fee/tempCarFee.vue | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/api/fee/feeApi.js b/api/fee/feeApi.js index 078199d..bcc5880 100644 --- a/api/fee/feeApi.js +++ b/api/fee/feeApi.js @@ -430,7 +430,7 @@ export function getTempCarFeeOrder(_objData) { export function toPayTempCarFee(_objData) { return new Promise((resolve, reject) => { requestNoAuth({ - url: url.unifiedPayment, + url: url.cashier, method: "POST", data: JSON.stringify(_objData), //动态数据 success: function(res) { diff --git a/pages/fee/tempCarFee.vue b/pages/fee/tempCarFee.vue index 404cc35..4b115c5 100644 --- a/pages/fee/tempCarFee.vue +++ b/pages/fee/tempCarFee.vue @@ -192,6 +192,7 @@ appId: this.appId, inoutId: this.inoutId, couponList: this.couponList, + cashierUserId:'-1', machineId:this.machineId, }; toAliPayTempCarFee(_objData) @@ -228,6 +229,7 @@ }); let _tradeType = 'JSAPI'; let _objData = { + business: "tempCarFee", carNum: this.carNum, openId: this.openId, paId: this.paId, @@ -236,6 +238,7 @@ appId: this.appId, inoutId: this.inoutId, couponList: this.couponList, + cashierUserId:'-1', machineId:this.machineId }; toPayTempCarFee(_objData)