修改请求后台的地址;添加位置接口及ssl配置;加价提示语延长时间;

This commit is contained in:
donqi 2022-10-25 00:37:33 +08:00
parent 98474b4e1b
commit b8602488e3
4 changed files with 15 additions and 15 deletions

View File

@ -13,7 +13,7 @@ export default {
})
let userInfo = _this.getCurUserInfo();
// request 触发前拼接 url
args.url = 'https://www.opsoul.com' + args.url;
args.url = 'https://www.opsoul.com:8881' + args.url;
// args.url = 'http://127.0.0.1:80' + args.url;
// args.url = 'http://192.168.2.50:80' + args.url;

View File

@ -51,7 +51,7 @@
/* */
"appid" : "wx105ce607b514ff2a",
"setting" : {
"urlCheck" : false,
"urlCheck" : true,
"minified" : true
},
"usingComponents" : true,
@ -60,8 +60,6 @@
"desc" : "因涉及上门家政服务,需获取地理位置"
}
},
"requiredPrivateInfos": [
"getLocation"
]
"requiredPrivateInfos" : [ "getLocation" ]
}
}

View File

@ -134,7 +134,7 @@
this.payAction = payAction;
},
async changeOrderPrice(newPrice) {
if (this.payAction != this.priceObj.type) {
if (this.priceObj && this.payAction != this.priceObj.type) {
uni.showToast({
icon: 'none',
title: '你有加价未付款,请客户支付后再加或在原加价上增加金额!',
@ -150,12 +150,13 @@
remark: this.remark
});
if (res && res.code === 0) {
this.resetPriceChangedInfo();
uni.showToast({
icon: 'success',
title: '修改成功',
duration: 1000
})
title: '修改成功'
})
setTimeout(() => {
this.resetPriceChangedInfo();
}, 1500);
}
},
async makePayQrcode(e) {

View File

@ -134,7 +134,7 @@
this.payAction = payAction;
},
async changeOrderPrice(newPrice) {
if (this.payAction != this.priceObj.type) {
if (this.priceObj && this.payAction != this.priceObj.type) {
uni.showToast({
icon: 'none',
title: '你有加价未付款,请客户支付后再加或在原加价上增加金额!',
@ -150,12 +150,13 @@
remark: this.remark
});
if (res && res.code === 0) {
this.resetPriceChangedInfo();
uni.showToast({
icon: 'success',
title: '修改成功',
duration: 1000
})
title: '修改成功'
})
setTimeout(() => {
this.resetPriceChangedInfo();
}, 1500);
}
},
async makePayQrcode(e) {