docs: 更新 AGENTS/README 平台架构说明与月度总结,运行日志视图支持已取消状态
This commit is contained in:
@@ -87,7 +87,10 @@ def download(page, d_from, d_to, save_dir, dry_run=False):
|
||||
config.log(f' 首条 {s.get("payTime")} | {s.get("productCodeName")} | '
|
||||
f'{s.get("amount")} | {s.get("payStatusName")}')
|
||||
if not total:
|
||||
return {'ok': False, 'message': f'{d_from}~{d_to} 没有打款记录'}
|
||||
# 区间内没有任何打款(周末/节假日/未结算)属正常业务状态,不算失败,
|
||||
# 由调用方跳过本项、继续后续下载与核对。
|
||||
return {'ok': True, 'empty': True, 'rows': 0,
|
||||
'message': f'{d_from}~{d_to} 没有打款记录,跳过'}
|
||||
|
||||
# ② 已有记录时效内复用
|
||||
before = _history_items(frame)
|
||||
|
||||
Reference in New Issue
Block a user