✨ feat(manga,device): 漫画免签名兜底与 phone 注册身份选项

- /manga 设备池签名路线全部失败时自动降级 wkbrowser 免签名路线(materials/skeleton 三段策略收集原图直链,无需设备/签名/解密),响应附 source: wkbrowser
- 新增配置 fanqie.device_identity(默认 pad 保持现状;phone 对齐书源真机注册 payload:host_bit 64 + 补 hardware/device_device/fingerprint 字段)
- README 与 openapi.yaml 同步文档,新增 manga_fallback 解析测试
This commit is contained in:
chenxin committed 2026-10-12 14:53:08 +08:00
1 parent 84bd3238ab
commit 9aec09bb40
7 files changed
+301 -3

No files matched your search

+6
View File
@@ -278,6 +278,11 @@ fanqie:
# - "sign4": X-Gorgon + X-Ladon + X-Argus + X-Khronos
signature: "sign4"
# 注册设备身份:
# - "pad": 平板身份(默认,历史行为)
# - "phone": 手机身份(对齐书源真机注册 payload,可对照测试注册率/存活率)
device_identity: "pad"
# 内容处理
content:
remove_images: false # 移除图片
@@ -359,6 +364,7 @@ cp .env.example .env
| `server.protect_all` | 业务接口是否也要求访问密钥 | `false` |
| `fanqie.algorithm` | 签名算法 `gorgon` / `8404` | `gorgon` |
| `fanqie.signature` | 签名方法 `sign2` / `sign4` | `sign4` |
| `fanqie.device_identity` | 注册设备身份 `phone` / `pad` | `pad` |
| `fanqie.content.*` | 正文内容处理选项 | 见上文 |
| `fanqie.manga.output_mode` | 漫画输出模式 | `proxy` |
| `cache.enabled` | 是否启用正文内容缓存 | `true` |