This commit is contained in:
唐明明
2023-07-11 14:49:11 +08:00
parent 0320f43c0d
commit 375448411f

View File

@@ -134,7 +134,6 @@
}
},
onShow() {
this.orderType = this.$Route.query.orderType
this.token = this.$store.getters.getToken
this.payPrice = this.$Route.query.price
this.payForm = this.$Route.query.payForm
@@ -178,7 +177,7 @@
}
NewUrl = apiUrl
}
NewUrl(this.orderId, {type: payType, app_schema: 'weixin://', order_type: this.orderType}).then(res => {
NewUrl(this.orderId, {type: payType, app_schema: 'weixin://',}).then(res => {
let { params, trade_id } = res;
this.getState = true
switch (payType){
@@ -220,7 +219,7 @@
NewUrl = apiUrl
}
NewUrl(this.orderId, {type: payType, order_type: this.orderType}).then(res => {
NewUrl(this.orderId, {type: payType}).then(res => {
this.getState = true
switch (payType){
case 'mp':
@@ -274,7 +273,6 @@
NewUrl(this.orderId, {
openid : newOpenId,
order_type : this.orderType
}).then(res => {
let wxConfig = JSON.parse(res.wechat)
jweixin.config({