优化代码

This commit is contained in:
wuxw 2023-10-13 16:34:38 +08:00
parent 21173355a2
commit 44b6d6edf3
5 changed files with 7 additions and 6 deletions

View File

@ -430,7 +430,7 @@ export function getTempCarFeeOrder(_objData) {
export function toPayTempCarFee(_objData) {
return new Promise((resolve, reject) => {
requestNoAuth({
url: url.toPayTempCarFee,
url: url.unifiedPayment,
method: "POST",
data: JSON.stringify(_objData), //动态数据
success: function(res) {

View File

@ -79,7 +79,7 @@
let _objData = {
page: 1,
row: 30,
tel: context.getUserInfo().link,
tel: context.getUserInfo().ownerTel,
state: '1001',
communityId:getCommunityId(),
toType:'5005'

View File

@ -126,7 +126,7 @@
let _objData = {
page: 1,
row: 30,
tel: context.getUserInfo().link,
tel: context.getUserInfo().ownerTel,
communityId:getCommunityId(),
state: '1001',
isStart:'Y'
@ -164,7 +164,7 @@
let _objData = {
page: 1,
row: 30,
tel: context.getUserInfo().link,
tel: context.getUserInfo().ownerTel,
state: '2002'
}
let _couponUsers = [];

View File

@ -102,7 +102,7 @@
let _objData = {
page: 1,
row: 30,
tel: context.getUserInfo().link,
tel: context.getUserInfo().ownerTel,
communityId:getCommunityId(),
state: '1001',
toType:'2002'

View File

@ -183,6 +183,7 @@
});
let _tradeType = 'JSAPI';
let _objData = {
business: "tempCarFee",
carNum: this.carNum,
openId: this.openId,
paId: this.paId,
@ -191,7 +192,7 @@
appId: this.appId,
inoutId: this.inoutId,
couponList: this.couponList,
machineId:this.machineId
machineId:this.machineId,
};
toAliPayTempCarFee(_objData)
.then(_data=>{