mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-06-12 10:00:57 +08:00
优化代码
This commit is contained in:
parent
44b6d6edf3
commit
eda87ff650
@ -430,7 +430,7 @@ export function getTempCarFeeOrder(_objData) {
|
|||||||
export function toPayTempCarFee(_objData) {
|
export function toPayTempCarFee(_objData) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
requestNoAuth({
|
requestNoAuth({
|
||||||
url: url.unifiedPayment,
|
url: url.cashier,
|
||||||
method: "POST",
|
method: "POST",
|
||||||
data: JSON.stringify(_objData), //动态数据
|
data: JSON.stringify(_objData), //动态数据
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
|
|||||||
@ -192,6 +192,7 @@
|
|||||||
appId: this.appId,
|
appId: this.appId,
|
||||||
inoutId: this.inoutId,
|
inoutId: this.inoutId,
|
||||||
couponList: this.couponList,
|
couponList: this.couponList,
|
||||||
|
cashierUserId:'-1',
|
||||||
machineId:this.machineId,
|
machineId:this.machineId,
|
||||||
};
|
};
|
||||||
toAliPayTempCarFee(_objData)
|
toAliPayTempCarFee(_objData)
|
||||||
@ -228,6 +229,7 @@
|
|||||||
});
|
});
|
||||||
let _tradeType = 'JSAPI';
|
let _tradeType = 'JSAPI';
|
||||||
let _objData = {
|
let _objData = {
|
||||||
|
business: "tempCarFee",
|
||||||
carNum: this.carNum,
|
carNum: this.carNum,
|
||||||
openId: this.openId,
|
openId: this.openId,
|
||||||
paId: this.paId,
|
paId: this.paId,
|
||||||
@ -236,6 +238,7 @@
|
|||||||
appId: this.appId,
|
appId: this.appId,
|
||||||
inoutId: this.inoutId,
|
inoutId: this.inoutId,
|
||||||
couponList: this.couponList,
|
couponList: this.couponList,
|
||||||
|
cashierUserId:'-1',
|
||||||
machineId:this.machineId
|
machineId:this.machineId
|
||||||
};
|
};
|
||||||
toPayTempCarFee(_objData)
|
toPayTempCarFee(_objData)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user