feat(ops): add global test whitelist and exclude test accounts from settlement

Unify product/store visibility on HQ whitelist, mark isTest snapshots, and fix SUPER_ADMIN access for the new module.
This commit is contained in:
2026-08-07 15:46:23 +08:00
parent 10fa361983
commit b626db5d84
47 changed files with 1823 additions and 308 deletions
+17
View File
@@ -27,6 +27,23 @@
- 订单 Tab:待付款/已付款/已完成;物流详情(签收照/拨号/ETA)
- 售后:客服入口;发票/四类型工单按 PRD Wave 进度
- 版本:`minClientVersion` 过低强制更新或退出
- 「我的」头像昵称:`chooseAvatar` + `input type=nickname`(见下「踩坑」)
### 踩坑 · 小程序 open-type 按钮点击无反应(必读,勿再回归)
**现象**:「我的」完善资料弹层里点「选择头像」无反应(`open-type=chooseAvatar`);同类还有 `getPhoneNumber` / `contact` / `share`
**根因**:弹层内容上写了 `onClick={(e) => e.stopPropagation()}`Taro 编译为微信 **`catchtap`**,父级拦截后子级 `Button` 的原生 open-type **静默失效**
**硬规则**
| 规则 | 说明 |
|------|------|
| 弹层结构 | 遮罩 backdrop 单独绑关闭;**sheet 上禁止** `stopPropagation` / `catchtap` |
| Button 内子节点 | `Image` 等加 `pointer-events: none`,勿抢触摸 |
| 自检 | 凡含 `openType=` 的 Button,向上检查祖先有无 catch 类事件 |
实现参照:`apps/mini-user/src/pages/mine/index.tsx`Cursor 规则:`.cursor/rules/mini-user-weapp-opentype.mdc`
## 3. 门店端(h5-shop