Impl /auth/user/delete

This commit is contained in:
2022-10-15 03:10:53 +00:00
committed by GitHub
parent 5034616ab8
commit b578aff777
4 changed files with 66 additions and 2 deletions

View File

@@ -25,6 +25,11 @@
* 路径: `/api/auth/user/change/password``/auth/user/change/password`
* 方法: `GET``POST`
* 鉴权: 需要
## 删除用户
* 路径: `/api/auth/user/delete``/auth/user/delete`
* 方法: `GET``POST`
* RESTful: `DELETE /api/auth/user``DELETE /auth/user`
* 鉴权: 需要(仅管理员)
## 获取Token
* 路径: `/api/auth/token/add``/auth/token/add`
* 方法: `GET``POST`