forked from wangziqi/gongxue-base
feat: batch resolve public bank conflicts
This commit is contained in:
@@ -318,6 +318,18 @@ export async function resolvePublicQuestionBankConflict(input: { adoptionId: str
|
||||
});
|
||||
}
|
||||
|
||||
export async function resolvePublicQuestionBankConflicts(input: {
|
||||
adoptionId: string;
|
||||
sourceQuestionIds: string[];
|
||||
resolution: 'accept_platform' | 'keep_local';
|
||||
limit?: number;
|
||||
}) {
|
||||
return apiRequest<{ item?: Record<string, unknown> }>('/api/tenant-content/public-question-banks/conflicts/resolve-batch', {
|
||||
method: 'POST',
|
||||
body: input,
|
||||
});
|
||||
}
|
||||
|
||||
export async function runImportPostCheck(jobId: string) {
|
||||
return apiRequest<{ item?: Record<string, unknown> }>('/api/tenant-content/imports/post-check', {
|
||||
method: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user