Impl /auth/user/update

This commit is contained in:
2022-10-03 14:14:49 +00:00
committed by GitHub
parent 7693cc3329
commit 2b6d3c05f7
4 changed files with 169 additions and 2 deletions

View File

@@ -12,6 +12,11 @@
* 方法: `GET``POST`
* RESTful: `PUT /api/auth/user``PUT /auth/user`
* 鉴权: 一般需要(如服务器状态内的`has_root_user``false`则无需鉴权)
## 更新用户
* 路径: `/api/auth/user/update``/auth/user/update`
* 方法: `GET``POST`
* RESTful: `PATCH /api/auth/user``PATCH /auth/user`
* 鉴权: 需要
## 获取Token
* 路径: `/api/auth/token/add``/auth/token/add`
* 方法: `GET``POST`