feat:更新训练场模块

This commit is contained in:
2026-07-30 13:08:23 +08:00
parent 78237984ec
commit 280ea9f7d0
21 changed files with 935 additions and 201 deletions

View File

@@ -6,3 +6,16 @@ export const queryMistakeListApi = (): Promise<IMistake[]> =>
url: '/study-api/mistake',
method: 'get'
})
export const addMistakeListApi = (data: IMistake[]): Promise<boolean> =>
cloudService({
url: '/study-api/mistake',
method: 'post',
data
})
export const deleteMistakeApi = (id: number): Promise<boolean> =>
cloudService({
url: `/study-api/mistake/${id}`,
method: 'delete'
})