api: GET /api/auth/me 当前用户端点; README
This commit is contained in:
@@ -43,6 +43,7 @@ SZ_TOKEN=你的token python3 main.py # 默认 0.0.0.0:8000
|
||||
```
|
||||
POST /api/auth/register 注册账号 {username, token}
|
||||
POST /api/auth/login 登录 {username, token}
|
||||
GET /api/auth/me 当前用户 (token 验证)
|
||||
POST /api/auth/logout 注销 (token 失效)
|
||||
POST /api/transfer/init 建任务 {transfer_id}
|
||||
PUT /api/transfer/{id}/chunk/{n} 上传单卷密文 409 = 坏卷
|
||||
|
||||
Reference in New Issue
Block a user