增加重试
This commit is contained in:
@@ -50,8 +50,8 @@ export const accountApi = {
|
||||
};
|
||||
|
||||
export const loginApi = {
|
||||
createBatch: (account_ids: number[], max_geetest_retries?: number) =>
|
||||
api.post<any, any>('/login/batch', { account_ids, max_geetest_retries }),
|
||||
createBatch: (account_ids: number[], max_geetest_retries?: number, concurrency?: number) =>
|
||||
api.post<any, any>('/login/batch', { account_ids, max_geetest_retries, concurrency }),
|
||||
listTasks: (batch_id?: string) =>
|
||||
api.get<any, any[]>('/login/tasks', { params: batch_id ? { batch_id } : {} }),
|
||||
stop: (batch_id: string) => api.post<any, any>(`/login/stop/${batch_id}`),
|
||||
|
||||
Reference in New Issue
Block a user