INNER CODE UNIT · TypeScript
batchDeleteAccounts
Simprint/simprint · plugins/pages/account-center/src/api/index.ts:186
export async function batchDeleteAccounts(uuids: string[]): Promise<void> {
const result = await post(API_ENDPOINTS.BATCH_DELETE_ACCOUNTS, { uuids });
if (!isSuccess(result)) {
throw new Error(result.message || '批量删除账号失败');
}
}
/**
* 批量导入账号
*/
export async function batchImportAccounts(
accounts: {
platform_url: string;
platform_name?: string;
account: string;
password?: string;
remark?: string;
}[]