fix: fallback qdreader uid to ywguid
This commit is contained in:
@@ -32,7 +32,10 @@ hostname = h5.if.qidian.com
|
||||
|
||||
4. 不要在弹窗正文加说明、账号数、变量名、截断摘要;BOSS 要直接复制整段命令。
|
||||
5. 失败弹窗可以保留简短错误,例如“请求中没有 Cookie”“无法识别 uid”。
|
||||
6. Rewrite 类型按实际取值选择:
|
||||
6. uid 识别优先级:
|
||||
- `QDHeader` 第一段是有效数字 uid 时优先使用;
|
||||
- 响应体里递归查找 `UserId` / `userId` / `uid`;
|
||||
- 若 `QDHeader` 第一段是 `(null)`,回退到 Cookie 里的 `ywguid` / `gwguid` / `guid`,避免通知标题显示 `uid:null`。
|
||||
- 只读请求头 Cookie:`script-request-header` 即可;
|
||||
- 需要读取响应 body 辅助解析 uid:用 `script-response-body`。
|
||||
QDReader 当前需要兼容从响应 body 取 `UserId`,所以使用 `script-response-body`。
|
||||
|
||||
Reference in New Issue
Block a user