This commit is contained in:
张成
2026-04-01 10:58:28 +08:00
parent ce2521cadc
commit 30a909762e
13 changed files with 134 additions and 7 deletions

View File

@@ -77,7 +77,7 @@
新建迁移或 SQL 脚本(建议 `_docs/sql/``migrations/`,与团队习惯一致)包含:
- `biz_users``users`,注意`sys_user` 后台账号区分**建议业务客户表用前缀 `biz_`**,避免与系统用户混淆
- `biz_user`与模型 `api/model/biz_user.js``tableName` 一致;`sys_user` 后台账号区分)
- `biz_plans`
- `biz_subscriptions`(字段含 `renew_mode``payment_channel``payment_ref` 等)
- `biz_api_token``token_hash``plan_id` 可选冗余)
@@ -100,7 +100,7 @@
| 需求路径 | 实现前缀 |
|----------|----------|
| `POST /admin/users` | `POST /admin_api/users``/admin_api/biz_users` |
| `POST /admin/users` | `POST /admin_api/biz_user/page` 等(以实际 controller 为准) |
| `GET /admin/users` | `GET /admin_api/users` |
| `GET /admin/users/{id}` | `GET /admin_api/users/:id` |
| `PUT /admin/users/{id}` | `PUT /admin_api/users/:id` |