This commit is contained in:
2026-06-13 10:47:59 +08:00
parent b19c811048
commit f9311292cc
5 changed files with 97 additions and 54 deletions

View File

@@ -128,7 +128,7 @@ export interface VocabularyAuditQueryParams {
start: string;
end: string;
studentNo?: string;
minWords?: string;
minCorrectWords?: string;
}
export interface ClearVocabularyPassSummaryResponse {
@@ -347,7 +347,7 @@ export const adminApi = {
return api.get<VocabularyPassSummaryResponse>('/admin/vocabulary/test-pass-summary', { params });
},
clearVocabularyPassSummary: async (data: { userId: string; start: string; end: string; studentNo?: string; minWords?: string }): Promise<ClearVocabularyPassSummaryResponse> => {
clearVocabularyPassSummary: async (data: { userId: string; start: string; end: string; studentNo?: string; minCorrectWords?: string }): Promise<ClearVocabularyPassSummaryResponse> => {
return api.post<ClearVocabularyPassSummaryResponse>('/admin/vocabulary/test-pass-summary/clear', data);
},