feat: 阅读页与章节预览 API;管理端内容页;book/h5_read;脚本与文档
- miniprogram: read 页与 member-detail/my;SOP 文档 - soul-api: chapter_preview、book/h5_read 调整;VIP 订单回填 SQL - soul-admin: ContentPage、dist - scripts: pull_from_baota;content_upload、gitignore、对话规则 Made-with: Cursor
This commit is contained in:
@@ -871,6 +871,17 @@ Page({
|
||||
this.initUserStatus()
|
||||
this.setData({ showLoginModal: false })
|
||||
wx.showToast({ title: '登录成功', icon: 'success' })
|
||||
// 超级个体详情:未登录点链接 → 去登录 → 回详情页自动继续链接流程(与 member-detail LOGIN_RESUME_MEMBER_DETAIL_KEY 一致)
|
||||
try {
|
||||
const LOGIN_RESUME_MEMBER_DETAIL_KEY = 'login_resume_member_detail_id'
|
||||
const rid = wx.getStorageSync(LOGIN_RESUME_MEMBER_DETAIL_KEY)
|
||||
if (rid != null && String(rid).trim() !== '') {
|
||||
wx.removeStorageSync(LOGIN_RESUME_MEMBER_DETAIL_KEY)
|
||||
wx.reLaunch({
|
||||
url: '/pages/member-detail/member-detail?id=' + encodeURIComponent(String(rid).trim()) + '&resumeLink=1'
|
||||
})
|
||||
}
|
||||
} catch (_) {}
|
||||
},
|
||||
|
||||
// 点击菜单
|
||||
|
||||
Reference in New Issue
Block a user