优化代码

This commit is contained in:
wuxw 2023-10-13 17:46:19 +08:00
parent 44b6d6edf3
commit eda87ff650
2 changed files with 4 additions and 1 deletions

View File

@ -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) {

View File

@ -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)