feat:更新考试记录功能
This commit is contained in:
9
src/apis/exam.ts
Normal file
9
src/apis/exam.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { cloudService } from './index'
|
||||
import type { IExamRecord } from '@/types/exam.ts'
|
||||
|
||||
export const addExamRecordApi = (data: IExamRecord): Promise<boolean> =>
|
||||
cloudService({
|
||||
url: '/study-api/exam/record',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
Reference in New Issue
Block a user