Files
douyi_guaji_main/douyin/core
CodexandClaude Opus 4.7 5383bbc131 refactor(fudai): 抽 _handle_in_fudai_detail 步骤2"第一次打开"整段到 handle_first_open_step2
将 90 行的"第一次打开(数据读取 + 验证 + 筛选检查 + 保存详情)"整段抽到
fudai_detail_helpers.handle_first_open_step2。

返回值约定:
- (detail, skip, skip_reason) 三元组:流程通过,调用方继续步骤3+4
- None:已早返回(验证失败/筛选不通过/记录预约/详情无效)

douyin_fudai.py: 949 → 870 行 (-79)
fudai_detail_helpers.py: 3094 → 3174 行

douyin_fudai.py 跌破 900 行(4121 → 870,本会话累计削减 3251 行 = -79%)

验证:
- pytest 1013 passed
- compile OK

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22 13:38:12 +08:00
..