From a86d78118d528007aeceed04f21a396e074e0f7a Mon Sep 17 00:00:00 2001 From: Kamisato-Ayaka-233 <2627706725@qq.com> Date: Sun, 4 Jun 2023 09:36:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=AA=8C=E8=AF=81=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E5=A4=B4=E6=8F=8F=E8=BF=B0=E4=B8=AD=E7=9A=84=E6=8D=A2?= =?UTF-8?q?=E8=A1=8C=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hoyolab/user/game_account_info.md | 44 ++++++++++++++++++++++--------- other/error_code.md | 4 +-- 2 files changed, 33 insertions(+), 15 deletions(-) diff --git a/hoyolab/user/game_account_info.md b/hoyolab/user/game_account_info.md index c4ecfd6..e7bf535 100644 --- a/hoyolab/user/game_account_info.md +++ b/hoyolab/user/game_account_info.md @@ -24,9 +24,11 @@ _请求方式:GET_ > _需要验证请求头_ > > `x-rpc-client_type`:`5` -> 4X`salt` -> `DS2` > +> 4X`salt` +> +> `DS2` + > _需要验证Cookie_ > > LToken @@ -240,9 +242,11 @@ _请求方式:GET_ > _需要验证请求头_ > > `x-rpc-client_type`:`5` -> 4X`salt` -> `DS2` > +> 4X`salt` +> +> `DS2` + > _需要验证Cookie_ > > LToken @@ -266,7 +270,13 @@ _请求方式:POST_ > > `x-rpc-client_type`:`5` > -> _需要验证网页Cookie_ +> 4X`salt` +> +> `DS2` + +> _需要验证Cookie_ +> +> LToken `https://api-takumi-record.mihoyo.com/game_record/app/genshin/api/character` @@ -473,9 +483,11 @@ _请求方式:POST_ > _需要验证请求头_ > > `x-rpc-client_type`:`5` -> 4X`salt` -> `DS2` > +> 4X`salt` +> +> `DS2` + > _需要验证Cookie_ > > LToken @@ -495,9 +507,11 @@ _请求方式:GET_ > _需要验证请求头_ > > `x-rpc-client_type`:`5` -> 4X`salt` -> `DS2` > +> 4X`salt` +> +> `DS2` + > _需要验证Cookie_ > > LToken @@ -1795,9 +1809,11 @@ _请求方式:GET_ > _需要验证请求头_ > > `x-rpc-client_type`:`5` -> 4X`salt` -> `DS2` > +> 4X`salt` +> +> `DS2` + > _需要验证Cookie_ > > LToken @@ -1914,9 +1930,11 @@ _请求方式:GET_ > _需要验证请求头_ > > `x-rpc-client_type`:`5` -> 4X`salt` -> `DS2` > +> 4X`salt` +> +> `DS2` + > _需要验证Cookie_ > > LToken diff --git a/other/error_code.md b/other/error_code.md index 328f54c..895e321 100644 --- a/other/error_code.md +++ b/other/error_code.md @@ -11,7 +11,7 @@ | 错误码 | 消息 | 原因 | | ----- | ---- | ---- | | -10001 | invalid request | 该API需要验证请求头,请求头的一些字段缺失或错误
请查看[绕过检测与鉴权](other/authentication.md) | -| -1 | param error
param XXX error: value must be greater than X
param XXX error: value must be in list [X ...] | 传递的参数值错误
传递的参数XXX缺失
传递的参数XXX的值只能是X、...中 | +| -1 | param error
param {param} error: value must be greater than {max}
param {param} error: value must be in list [{n1} {n2} ... {nn}] | 传递的参数值错误
传递的参数`param`的值必须大于`max`
传递的参数`param`的值只能是`n1`、`n2`至`nn`其中之一 | | 1008 | 用户信息不匹配 | 传递的参数不正确
(例如获取用户游戏账号信息的`role_id`为无效UID) | | 10001 | Please login | 该API需要验证Cookie
请查看[绕过检测与鉴权](other/authentication.md#cookie) | | 1034 | | 请求遇到验证码 | @@ -22,4 +22,4 @@ | ----- | ---- | ---- | | -10001 | invalid request | 该API需要验证请求头,请求头的一些字段缺失或错误
请查看[绕过检测与鉴权](other/authentication.md) | | -502 | Something went wrong...please retry later | 传递的参数错误 | -| -100 | 登录失效,请重新登录 | \ No newline at end of file +| -100 | 登录失效,请重新登录 | Cookie失效或不正确 | \ No newline at end of file