更新管理端迁移Mycontent-temp的菜单与布局规范,确保主导航收敛并优化隐藏页面入口。新增相关会议记录与文档,反映团队讨论的最新决策与实施建议。
This commit is contained in:
@@ -125,6 +125,15 @@ class ChapterAccessManager {
|
||||
app.globalData.hasFullBook = true
|
||||
}
|
||||
|
||||
// VIP 会员:标记全局 isVip,供超级个体解锁、前端展示等使用
|
||||
if (purchaseData.reason === 'has_vip') {
|
||||
app.globalData.isVip = true
|
||||
const userInfo = app.globalData.userInfo || {}
|
||||
userInfo.isVip = true
|
||||
app.globalData.userInfo = userInfo
|
||||
wx.setStorageSync('userInfo', userInfo)
|
||||
}
|
||||
|
||||
if (!app.globalData.purchasedSections.includes(sectionId)) {
|
||||
app.globalData.purchasedSections = [...app.globalData.purchasedSections, sectionId]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user