This commit is contained in:
唐明明
2023-03-23 13:39:28 +08:00
parent 88ed4bdadf
commit b17d6ccb3b
4 changed files with 38 additions and 18 deletions

View File

@@ -195,14 +195,14 @@ import mixin from 'uview-ui/libs/mixin/mixin';
})
break;
case 'wx':
if(this.payType == 'price') this.onUmsPay('mp')
if(this.payType == 'diff') this.onDiffUmsPay('mp')
if(this.payType == 'free') this.onFreePay('mp')
if(this.payType == 'price') this.onUmsPay('app')
if(this.payType == 'diff') this.onDiffUmsPay('app')
if(this.payType == 'free') this.onFreePay('app')
break;
case 'ali':
if(this.payType == 'price') this.onUmsPay('mp_alipay')
if(this.payType == 'diff') this.onDiffUmsPay('mp_alipay')
if(this.payType == 'free') this.onFreePay('mp_alipay')
if(this.payType == 'price') this.onUmsPay('app_alipay')
if(this.payType == 'diff') this.onDiffUmsPay('app_alipay')
if(this.payType == 'free') this.onFreePay('app_alipay')
break;
}
},
@@ -223,10 +223,10 @@ import mixin from 'uview-ui/libs/mixin/mixin';
this.getState = true
this.trade_id = res.trade_id
switch (type){
case 'mp':
case 'app':
this.onMiniWx()
break;
case 'mp_alipay':
case 'app_alipay':
plus.runtime.openURL(res.alipay)
break;
}
@@ -252,10 +252,10 @@ import mixin from 'uview-ui/libs/mixin/mixin';
this.getState = true
this.trade_id = res.trade_id
switch (type){
case 'mp':
case 'app':
this.onMiniWx()
break;
case 'mp_alipay':
case 'app_alipay':
plus.runtime.openURL(res.alipay)
break;
}
@@ -277,10 +277,10 @@ import mixin from 'uview-ui/libs/mixin/mixin';
this.getState = true
this.trade_id = res.trade_id
switch (type){
case 'mp':
case 'app':
this.onMiniWx()
break;
case 'mp_alipay':
case 'app_alipay':
plus.runtime.openURL(res.alipay)
break;
}