修正验证请求头描述中的换行错误

This commit is contained in:
Kamisato-Ayaka-233
2023-06-04 09:36:54 +08:00
parent 21492cf60c
commit a86d78118d
2 changed files with 33 additions and 15 deletions

View File

@@ -24,9 +24,11 @@ _请求方式GET_
> _需要验证请求头_ > _需要验证请求头_
> >
> `x-rpc-client_type``5` > `x-rpc-client_type``5`
> 4X`salt`
> `DS2`
> >
> 4X`salt`
>
> `DS2`
> _需要验证Cookie_ > _需要验证Cookie_
> >
> LToken > LToken
@@ -240,9 +242,11 @@ _请求方式GET_
> _需要验证请求头_ > _需要验证请求头_
> >
> `x-rpc-client_type``5` > `x-rpc-client_type``5`
> 4X`salt`
> `DS2`
> >
> 4X`salt`
>
> `DS2`
> _需要验证Cookie_ > _需要验证Cookie_
> >
> LToken > LToken
@@ -266,7 +270,13 @@ _请求方式POST_
> >
> `x-rpc-client_type``5` > `x-rpc-client_type``5`
> >
> _需要验证网页Cookie_ > 4X`salt`
>
> `DS2`
> _需要验证Cookie_
>
> LToken
`https://api-takumi-record.mihoyo.com/game_record/app/genshin/api/character` `https://api-takumi-record.mihoyo.com/game_record/app/genshin/api/character`
@@ -473,9 +483,11 @@ _请求方式POST_
> _需要验证请求头_ > _需要验证请求头_
> >
> `x-rpc-client_type``5` > `x-rpc-client_type``5`
> 4X`salt`
> `DS2`
> >
> 4X`salt`
>
> `DS2`
> _需要验证Cookie_ > _需要验证Cookie_
> >
> LToken > LToken
@@ -495,9 +507,11 @@ _请求方式GET_
> _需要验证请求头_ > _需要验证请求头_
> >
> `x-rpc-client_type``5` > `x-rpc-client_type``5`
> 4X`salt`
> `DS2`
> >
> 4X`salt`
>
> `DS2`
> _需要验证Cookie_ > _需要验证Cookie_
> >
> LToken > LToken
@@ -1795,9 +1809,11 @@ _请求方式GET_
> _需要验证请求头_ > _需要验证请求头_
> >
> `x-rpc-client_type``5` > `x-rpc-client_type``5`
> 4X`salt`
> `DS2`
> >
> 4X`salt`
>
> `DS2`
> _需要验证Cookie_ > _需要验证Cookie_
> >
> LToken > LToken
@@ -1914,9 +1930,11 @@ _请求方式GET_
> _需要验证请求头_ > _需要验证请求头_
> >
> `x-rpc-client_type``5` > `x-rpc-client_type``5`
> 4X`salt`
> `DS2`
> >
> 4X`salt`
>
> `DS2`
> _需要验证Cookie_ > _需要验证Cookie_
> >
> LToken > LToken

View File

@@ -11,7 +11,7 @@
| 错误码 | 消息 | 原因 | | 错误码 | 消息 | 原因 |
| ----- | ---- | ---- | | ----- | ---- | ---- |
| -10001 | invalid request | 该API需要验证请求头请求头的一些字段缺失或错误<br/>请查看[绕过检测与鉴权](other/authentication.md) | | -10001 | invalid request | 该API需要验证请求头请求头的一些字段缺失或错误<br/>请查看[绕过检测与鉴权](other/authentication.md) |
| -1 | param error<br>param XXX error: value must be greater than X<br>param XXX error: value must be in list [X ...] | 传递的参数值错误<br>传递的参数XXX缺失<br>传递的参数XXX的值只能是X、...中 | | -1 | param error<br>param {param} error: value must be greater than {max}<br>param {param} error: value must be in list [{n1} {n2} ... {nn}] | 传递的参数值错误<br>传递的参数`param`的值必须大于`max`<br>传递的参数`param`的值只能是`n1``n2``nn`其中之一 |
| 1008 | 用户信息不匹配 | 传递的参数不正确<br/>(例如获取用户游戏账号信息的`role_id`为无效UID | | 1008 | 用户信息不匹配 | 传递的参数不正确<br/>(例如获取用户游戏账号信息的`role_id`为无效UID |
| 10001 | Please login | 该API需要验证Cookie<br/>请查看[绕过检测与鉴权](other/authentication.md#cookie) | | 10001 | Please login | 该API需要验证Cookie<br/>请查看[绕过检测与鉴权](other/authentication.md#cookie) |
| 1034 | | 请求遇到验证码 | | 1034 | | 请求遇到验证码 |
@@ -22,4 +22,4 @@
| ----- | ---- | ---- | | ----- | ---- | ---- |
| -10001 | invalid request | 该API需要验证请求头请求头的一些字段缺失或错误<br/>请查看[绕过检测与鉴权](other/authentication.md) | | -10001 | invalid request | 该API需要验证请求头请求头的一些字段缺失或错误<br/>请查看[绕过检测与鉴权](other/authentication.md) |
| -502 | Something went wrong...please retry later | 传递的参数错误 | | -502 | Something went wrong...please retry later | 传递的参数错误 |
| -100 | 登录失效,请重新登录 | | -100 | 登录失效,请重新登录 | Cookie失效或不正确 |