|
|
@@ -324,6 +324,20 @@ export default {
|
|
|
this.$toast(e.error || '充值失败');
|
|
|
});
|
|
|
break;
|
|
|
+ case 'ALI':
|
|
|
+ this.$toast.loading('充值中');
|
|
|
+ this.$http
|
|
|
+ .post('/payOrder/v2/recharge/ali', { amount: this.amount })
|
|
|
+ .then(res => {
|
|
|
+ this.openScheme(res);
|
|
|
+ setTimeout(() => {
|
|
|
+ this.$toast.clear();
|
|
|
+ }, 1000);
|
|
|
+ })
|
|
|
+ .catch(e => {
|
|
|
+ this.$toast(e.error || '充值失败');
|
|
|
+ });
|
|
|
+ break;
|
|
|
case 'SYXPAY':
|
|
|
this.$router.push({
|
|
|
name: 'bankPay',
|