add function of username search in admin vocabulary scoreaudit

This commit is contained in:
2026-06-04 20:09:38 +08:00
parent 37e4837e3f
commit 8fd1606424
3 changed files with 27 additions and 3 deletions

View File

@@ -336,7 +336,7 @@ export const adminApi = {
return api.put('/api/vocabulary/words', { words });
},
getVocabularyPassSummary: async (params: { start: string; end: string }): Promise<VocabularyPassSummaryResponse> => {
getVocabularyPassSummary: async (params: { start: string; end: string; studentNo?: string }): Promise<VocabularyPassSummaryResponse> => {
return api.get<VocabularyPassSummaryResponse>('/admin/vocabulary/test-pass-summary', { params });
},