Impl /auth/user/info

This commit is contained in:
2022-10-15 07:13:45 +00:00
committed by GitHub
parent b578aff777
commit e3c8b95843
4 changed files with 99 additions and 1 deletions

View File

@@ -30,6 +30,11 @@
* 方法: `GET``POST`
* RESTful: `DELETE /api/auth/user``DELETE /auth/user`
* 鉴权: 需要(仅管理员)
## 获取用户信息
* 路径: `/api/auth/user/info``/auth/user/info`
* 方法: `GET``POST`
* RESTful: `GET /api/auth/user``GET /auth/user`
* 鉴权: 需要(其他用户信息仅管理员)
## 获取Token
* 路径: `/api/auth/token/add``/auth/token/add`
* 方法: `GET``POST`