feat: implement mobile number binding via WeChat and enforce phone verification for venue entry, booking, and card purchases

This commit is contained in:
2026-04-18 18:32:30 +08:00
parent 7552f9946b
commit 5236fabc83
11 changed files with 139 additions and 19 deletions

View File

@@ -102,6 +102,21 @@ Page({
// 点击微信支付
clickBuy() {
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;
}
if (this.data.isUnClick) {
return;
}