This commit is contained in:
2022-09-27 04:40:02 +00:00
committed by GitHub
parent 5b4ba8d80a
commit b98ac08e4b
4 changed files with 143 additions and 0 deletions

View File

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