修复:支付合并后 会员卡微信支付报错导致不能使用微信支付
This commit is contained in:
parent
6161f5c2d3
commit
a2e68daf8f
|
|
@ -354,6 +354,19 @@
|
|||
},
|
||||
// 立即购买
|
||||
createMemberCard(type) {
|
||||
|
||||
if (type == 'weixin') {
|
||||
// #ifdef H5
|
||||
type = _this.$wechat.isWeixin() ? 'weixin' : 'h5'
|
||||
// #endif
|
||||
// #ifdef MP
|
||||
type = 'routine'
|
||||
// #endif
|
||||
// #ifdef APP-PLUS
|
||||
type = 'weixin'
|
||||
// #endif
|
||||
}
|
||||
|
||||
uni.showLoading({
|
||||
title: '正在加载…'
|
||||
});
|
||||
|
|
@ -419,7 +432,7 @@
|
|||
jsConfig = res.data.result.config,
|
||||
goPages = '/pages/users/user_coupon/index';
|
||||
|
||||
// console.log('支付成功', status)
|
||||
console.log('支付成功', status)
|
||||
switch (status) {
|
||||
case 'ORDER_EXIST':
|
||||
case 'EXTEND_ORDER':
|
||||
|
|
@ -436,10 +449,7 @@
|
|||
that.payClose();
|
||||
that.getMemberCard();
|
||||
|
||||
return that.$util.Tips({
|
||||
title: res.message,
|
||||
icon: 'success'
|
||||
});
|
||||
that.$util.tips({ content: res.message});
|
||||
break;
|
||||
case 'alipay':
|
||||
case "alipayQr":
|
||||
|
|
|
|||
Loading…
Reference in New Issue