feat(account-check): 登录接口可选 wgapi / iframe
账号检测原来把 WgapiLoginAPI 写死在执行器里,收不到邮箱验证码时只能干等; 登录任务早就可选 iframe(邮箱验证走 iframe 接口)。默认仍 wgapi,旧行为不变。
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user