订单去充值跳转修改
This commit is contained in:
@@ -381,8 +381,8 @@
|
|||||||
},
|
},
|
||||||
goRecharge() { // 去充值
|
goRecharge() { // 去充值
|
||||||
// 判断是否绑定手机,只有下单时候有,会员列表肯定有
|
// 判断是否绑定手机,只有下单时候有,会员列表肯定有
|
||||||
console.log(uni.cache.get('userInfo').telephone, '调试1')
|
// console.log(this.amountVIP.isVip, '调试1')
|
||||||
if (uni.cache.get('userInfo').telephone == '') {
|
if (this.amountVIP.isVip == 0) {
|
||||||
// 跳转到开通页面
|
// 跳转到开通页面
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/member/activatedmemberone?shopId=' + uni.cache.get('shopUser')
|
url: '/pages/member/activatedmemberone?shopId=' + uni.cache.get('shopUser')
|
||||||
@@ -480,7 +480,7 @@
|
|||||||
let res = await this.api.accountPay({
|
let res = await this.api.accountPay({
|
||||||
orderId: this.listinfoid,
|
orderId: this.listinfoid,
|
||||||
memberId: this.amountVIP.id,
|
memberId: this.amountVIP.id,
|
||||||
pwd:pwd
|
pwd: pwd
|
||||||
})
|
})
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
// data ->1 支付成功
|
// data ->1 支付成功
|
||||||
|
|||||||
Reference in New Issue
Block a user