Showing
1 changed file
with
34 additions
and
0 deletions
| @@ -228,6 +228,40 @@ token信息需要写入HTTP请求的header中, header name为 `auth_fish_token` | @@ -228,6 +228,40 @@ token信息需要写入HTTP请求的header中, header name为 `auth_fish_token` | ||
| 228 | 228 | ||
| 229 | 229 | ||
| 230 | 230 | ||
| 231 | +# 查询登录用户类型 | ||
| 232 | + | ||
| 233 | +## 请求参数 | ||
| 234 | +`/auth/fish/user/type` | ||
| 235 | + | ||
| 236 | + | ||
| 237 | +## 请求方式 | ||
| 238 | +`HTTP GET` | ||
| 239 | + | ||
| 240 | +## 返回值 | ||
| 241 | + | ||
| 242 | +``` | ||
| 243 | +{ | ||
| 244 | + "code": 0, | ||
| 245 | + "message": "成功", | ||
| 246 | + "tokenInvalidTime": null, | ||
| 247 | + "data": [ | ||
| 248 | + { | ||
| 249 | + "type": "DEV" | ||
| 250 | + }, | ||
| 251 | + { | ||
| 252 | + "type": "AD" | ||
| 253 | + }, | ||
| 254 | + { | ||
| 255 | + "type": "OP" | ||
| 256 | + }, | ||
| 257 | + { | ||
| 258 | + "type": "BD" | ||
| 259 | + } | ||
| 260 | + ] | ||
| 261 | +} | ||
| 262 | +``` | ||
| 263 | + | ||
| 264 | + | ||
| 231 | 265 | ||
| 232 | 266 | ||
| 233 | 267 |
-
Please register or login to post a comment