feat(account-check): 登录接口可选 wgapi / iframe

账号检测原来把 WgapiLoginAPI 写死在执行器里,收不到邮箱验证码时只能干等;
登录任务早就可选 iframe(邮箱验证走 iframe 接口)。默认仍 wgapi,旧行为不变。
This commit is contained in:
yml2213
2026-10-06 20:19:26 +08:00
parent 39388c56b5
commit 5da12df16b
8 changed files with 279 additions and 17 deletions
+3
View File
@@ -415,6 +415,8 @@ export interface AccountCheckBatchRequest {
max_login_retries?: number;
max_total_time?: number;
use_proxy?: boolean;
/** 登录接口:wgapi(默认,保持原行为)或 iframe;与登录任务同一套取值 */
api_strategy?: string;
}
export interface AccountCheckItem {
@@ -438,6 +440,7 @@ export interface AccountCheckBatch {
max_login_retries: number;
max_total_time: number;
use_proxy: boolean;
api_strategy: string;
total: number;
finished_count: number;
running_count: number;