pansou
pansou copied to clipboard
115网盘过期链接检测返回ok
115网盘过期链接检测返回ok 链接实例: https://115.com/s/swff16b3ngy?password=CNYY 用codex debug了一下: • 已确认,链接确实已经过期。
115 接口实际返回:
{ "state": true, "errno": 0, "data": { "share_state": 7, "shareinfo": { "forbid_reason": "链接已过期" }, "count": 1, "list": [...] } }
根因就在 PanSou 判断顺序:
if len(response.Data.List) > 0 || response.Data.Count > 0 { return checkStateOK }
它在检查 share_state=7 之前,看到文件列表非空就直接返回 OK,所以这个过期链接被错误判定为有效。
下个版本修复