feat(ECR-010): Ops-E 系统运营;修复登出解绑;P2 Complete
落地管理员 RBAC/封禁/推送任务 stub,logout 解绑 device 并统一各页 ensureAccount,同时收口 P2 生日生成与状态文档。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# TEST_REPORT — ECR-010 Ops-E
|
||||
|
||||
**Date:** 2026-08-11
|
||||
**Result:** PASS
|
||||
|
||||
## Commands
|
||||
|
||||
```bash
|
||||
cd apps/api && go test ./... -count=1
|
||||
cd apps/api && go test ./internal/integration/ -run TestOpsESystemRBACBanPush -count=1
|
||||
npm run build --workspace=@yuxingu/admin-h5
|
||||
```
|
||||
|
||||
## Coverage
|
||||
|
||||
| Case | Result |
|
||||
|------|--------|
|
||||
| Bootstrap admin role=super | PASS |
|
||||
| ops PUT plan-prices → 40301 | PASS |
|
||||
| ops list admins → 40301 | PASS |
|
||||
| ops grant membership → 40301 | PASS |
|
||||
| ops ban → DeviceAuth 40310 | PASS |
|
||||
| ops unban → profiles OK | PASS |
|
||||
| push draft + cancel | PASS |
|
||||
| admin-h5 build | PASS |
|
||||
|
||||
## Notes
|
||||
|
||||
- Migration `000016_ops_system` applied via integration Migrate
|
||||
- 真推送未测(Forbidden)
|
||||
Reference in New Issue
Block a user