feat(automation): 增加租约 CK 到期前刷新
- 保护组新增 lease_bound,覆盖全部生效履约/协作租约 - 新增 lease_ck_refresh 作业,提前 24h 为有效 CK 续期 - 已失效重登仍由 ck_relogin 处理 - 失败按类型设置退避,避免每轮重复撞 - 补充保护组、选行、作业执行测试
This commit is contained in:
@@ -802,7 +802,7 @@ export interface DouyuSupplyTargetUpdate {
|
||||
}
|
||||
|
||||
export interface DouyuAccountProtectionTarget {
|
||||
group_key: 'presale_bound' | 'collab_bound';
|
||||
group_key: 'presale_bound' | 'collab_bound' | 'lease_bound';
|
||||
label: string;
|
||||
description: string;
|
||||
enabled: boolean;
|
||||
|
||||
@@ -118,6 +118,12 @@ const JOB_UI: Record<string, JobUiSpec> = {
|
||||
showRecheck: false,
|
||||
showConcurrency: false,
|
||||
},
|
||||
lease_ck_refresh: {
|
||||
description: "对仍有效、但预测 24 小时内到期的生效租约账号提前登录续 CK;只处理 platform_fulfillment / douyu_collab 租约。",
|
||||
core: true,
|
||||
showRecheck: false,
|
||||
showConcurrency: true,
|
||||
},
|
||||
account_onboarding: {
|
||||
description: "对没有 CK 的未登录账号执行首次真实登录;成功后写入 CK 并联动商品能力同步。默认关闭,建议先小批量。",
|
||||
core: true,
|
||||
|
||||
Reference in New Issue
Block a user