feat: implement mobile number binding via WeChat and enforce phone verification for venue entry, booking, and card purchases
This commit is contained in:
@@ -132,6 +132,22 @@ Page({
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
let info = wx.getStorageSync('information') || {};
|
||||
if (!info.mobile) {
|
||||
wx.showModal({
|
||||
title: '提示',
|
||||
content: '根据场馆实名制要求,购卡需先绑定手机号。',
|
||||
confirmText: '去绑定',
|
||||
success(modRes) {
|
||||
if (modRes.confirm) {
|
||||
wx.navigateTo({ url: '/pages/userInfo/index' })
|
||||
}
|
||||
}
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
this.setData({
|
||||
isShowBuyVip: true,
|
||||
buyVipObj: this.data.venues.cards[index]
|
||||
|
||||
Reference in New Issue
Block a user