♻️ 书源 id 去掉 ext. 前缀,沿用旧内置源数据

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
GarfieldandCopilot committed 2026-11-16 14:07:45 +08:00
1 parent 088a1a2d94
commit 241cea9599
12 files changed
+21 -21

No files matched your search

@@ -218,7 +218,7 @@ local function jsonAsync(self, method, url, extra_headers, body, cb)
if isAuthError(code, res.body, res) then
-- 技术细节只打日志;弹窗给人看的中文由 Auth → Sync.promptLogin。
logger.warn("fanqie auth expired", httpError(method, url, code, res.body, res))
cb(nil, Auth.expire("ext.fanqie", _("点这个提示上的「重新登录」。二维码出来以后,打开手机上的番茄小说 App 或抖音,用扫一扫对准屏幕上的二维码,在手机上点确认。")))
cb(nil, Auth.expire("fanqie", _("点这个提示上的「重新登录」。二维码出来以后,打开手机上的番茄小说 App 或抖音,用扫一扫对准屏幕上的二维码,在手机上点确认。")))
return
end
if not Request.ok(code) then
@@ -226,7 +226,7 @@ local function jsonAsync(self, method, url, extra_headers, body, cb)
cb(nil, userHttpError(code, res.body))
return
end
Auth.ok("ext.fanqie")
Auth.ok("fanqie")
cb(decodeJson(res.body))
end)
end