feat: 收口多品牌与模板构建基础
This commit is contained in:
1 parent
0425a1c672
commit
77224ea51f
317 files changed
+11290
-1158
No files matched your search
@@ -0,0 +1,23 @@
|
||||
# 进度
|
||||
|
||||
- 任务:管理员账号使用闭环
|
||||
- 形态:epic
|
||||
- 进度:3/3
|
||||
- 当前:账号使用闭环已完成,下一步进行多品牌真实初始化验收。
|
||||
|
||||
## 已完成
|
||||
|
||||
- `AdminUser.mustChangePassword` 字段和 Prisma migration 已添加。
|
||||
- 新增 `POST /admin/session/change-password`。
|
||||
- 登录响应包含 `role` 和 `mustChangePassword`。
|
||||
- 手动添加成员自动标记首次改密。
|
||||
- 后台首次登录改密页面已接入。
|
||||
- `editor` 隐藏系统管理菜单,直接访问系统管理路由会回到概览。
|
||||
|
||||
## 验证
|
||||
|
||||
- `pnpm typecheck`:通过。
|
||||
- `pnpm --filter @personal-brand/admin build`:通过。
|
||||
- `pnpm format:check`:通过。
|
||||
- `pnpm --filter @personal-brand/api exec prisma migrate deploy`:已成功应用,`mustChangePassword` 字段已确认落库。
|
||||
- `pnpm --filter @personal-brand/api test:integration`:34/34 通过。
|
||||
Reference in new issue
Block a user