Quincy_J 29734666a6 1
2025-07-29 20:18:40 +08:00

21 lines
497 B
TypeScript

import { request } from '@/utils/request'
import type { BaseResponse } from '../login/type'
/** 考试信息类型 */
export interface ExamItem {
id: string
examName: string
examDate: string
startTime: string
endTime: string
provinceName: string
cityName: string
address: string
locationName: string
estimatedAttendees: string
}
/** 获取可报名考试列表 */
export const getCanBookExamListAPI = () =>
request.get<BaseResponse<ExamItem[]>>('/exam/getCanBookExamList')