feat: 微信审核适配 — 移除提现/分销页面 + 分享图片预取 + 登录链路修复

- pages.json 移除 14 个提现/分销页面注册(user_cash/user_spread/spreadData/promoter/distributor),文件保留可恢复
- template4.vue 隐藏'立即提现'区块(用户中心可见入口,分销功能已关闭)
- record.vue 抽奖记录移除提现收款跳转(改 toast 提示)
- web_view 分享图片:太阳码/点击应用时从 box_app 预取 shareImageUrl,H5 postMessage 传图优先
- web_view _fetchOpenidAndLoad 兼容老用户响应(openid 从 userInfo/JWT 兜底解析)并写回缓存
- App.vue 移除 expired=[object Promise] 无意义日志
This commit is contained in:
2026-08-15 16:36:49 +08:00
parent aa67806030
commit d9263d2ea2
6 changed files with 278 additions and 168 deletions

View File

@@ -108,7 +108,7 @@
// #endif
// #ifdef MP
// 小程序静默授权
console.log('[auth-flow] App onLaunch: isLogin=' + this.$store.getters.isLogin + ', expired=' + this.getExpired());
console.log('[auth-flow] App onLaunch: isLogin=' + this.$store.getters.isLogin);
if (!this.$store.getters.isLogin) {
Routine.getCode().then(code => {
console.log('[auth-flow] App onLaunch: wx.login 拿到 code=' + (code ? code.substring(0, 10) + '...' : '(空)'));