exam.ts 434 B

12345678910111213141516
  1. import { DefineApiModule, Exam } from 'api-type'
  2. const ExamApi: DefineApiModule<Exam.ApiMap> = {
  3. /** 删除考试 */
  4. deleteExam: '/api/exam/delete',
  5. /** 获取考试信息 */
  6. getExamInfo: '/api/exam/info',
  7. /** 查询考试列表 */
  8. getExamList: '/api/exam/page',
  9. /** 新增/修改考试 */
  10. saveExamInfo: '/api/exam/save',
  11. /** 启用/禁用考试 */
  12. toggleEnableExam: '/api/exam/toggle',
  13. }
  14. export default ExamApi