1
This commit is contained in:
@@ -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` |
|
||||
|
||||
Reference in New Issue
Block a user