♻️ 书源 id 去掉 ext. 前缀,沿用旧内置源数据
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
1 parent
0907702861
commit
b45d47aea5
8 files changed
+38
-38
No files matched your search
@@ -44,17 +44,17 @@ network = "failure"
|
||||
C.shelfAsync(function(value, reason) result, err = value, reason end)
|
||||
A.is_nil(result)
|
||||
A.eq(err, "timeout")
|
||||
A.is_false(Auth.expired("ext.xiaoxiang"), "暂时网络失败保留登录")
|
||||
A.is_false(Auth.expired("xiaoxiang"), "暂时网络失败保留登录")
|
||||
network = "expired"
|
||||
C.shelfAsync(function(value, reason) result, err = value, reason end)
|
||||
A.is_true(Auth.expired("ext.xiaoxiang"))
|
||||
A.is_true(Auth.expired("xiaoxiang"))
|
||||
A.eq(posts, 0)
|
||||
Auth.reset()
|
||||
network = "wait"
|
||||
C.shelfAsync(function(value, reason) result, err = value, reason end)
|
||||
cfg.cookie = "csrfToken=new; ywguid=43"
|
||||
pending('{"code":0,"data":{"isLogin":0}}')
|
||||
A.is_false(Auth.expired("ext.xiaoxiang"), "旧请求不能注销新账号")
|
||||
A.is_false(Auth.expired("xiaoxiang"), "旧请求不能注销新账号")
|
||||
A.eq(err, "账号已变化,请重新登录")
|
||||
cfg.cookie = "csrfToken=x%26; ywguid=42"
|
||||
network, cancelled, info = "wait", false, nil
|
||||
|
||||
Reference in new issue
Block a user