add /member/checklogin api

This commit is contained in:
Dawn1Ocean
2024-03-20 20:04:19 +08:00
parent 456c891ca6
commit aff74acc1f
4 changed files with 24 additions and 3 deletions
+12
View File
@@ -345,6 +345,18 @@ Request
}
```
### 检查 token 是否登陆 `GET /member/checklogin?token={token}` OK
data
```json
{
"avatar": "https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png",
"name": "宇航员",
"phone": "13311451419",
}
```
### 成员登出 `POST /member/logout`
Request