支付
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user