怎么执行这份 Runbook
先检查前置条件,再按命令块执行。任何命令都要根据客户环境替换域名、路径、服务名和数据库名,不要复制示例里的占位值直接跑。
部署完成后必须做验证;验证不过就按回滚路径退回,并在交接记录里写清原因。
用于 ICP 和 HTTPS 恢复后继续处理微信合法域名、公安备案号、演示账号权限、截图素材、监控和复查记录。
先检查前置条件,再按命令块执行。任何命令都要根据客户环境替换域名、路径、服务名和数据库名,不要复制示例里的占位值直接跑。
部署完成后必须做验证;验证不过就按回滚路径退回,并在交接记录里写清原因。
命令是模板,不含真实密钥。执行前必须替换项目名、路径、域名、服务名和数据库名。
dig +short mall.liujixue.cn A curl -I https://mall.liujixue.cn/ curl -I https://mall.liujixue.cn/wx/home/index curl -I http://mall.liujixue.cn/wx/home/index
node --input-type=module <<'NODE'
const paths = ['/miniapps', '/projects/litemall', '/services/litemall', '/system']
const blockedAdminPath = '/' + 'admin' + '/auth'
for (const path of paths) {
const html = await fetch('https://liujixue.cn' + path).then(res => res.text())
if (!html.includes('访问移动商城') && path !== '/system') throw new Error(path + ' missing mall link')
if (html.includes(blockedAdminPath)) throw new Error(path + ' exposes admin auth path')
console.log(path + ' ok')
}
NODE# WeChat MP console -> Development Management -> Development Settings -> Server Domain # Add request legal domain: # https://mall.liujixue.cn # Add upload/download domain only if file upload or image fetch uses the same HTTPS domain.
# After public security filing passes, record: # publicSecurityRecordNumber=... # publicSecurityRecordUrl=... # Then add it to the footer data source and verify every public page still builds.