【修改】专业-课程-题型 API接口修改

This commit is contained in:
任维炳
2025-04-23 17:17:00 +08:00
committed by 陆光LG
parent 74abeb0564
commit ea87d3d167
3 changed files with 5 additions and 7 deletions

View File

@@ -12,16 +12,16 @@ export interface SpecialtyVO {
createTime: Date
}
// 查询部门(精简)列表
export const getSimpleSpecialtyist = async (): Promise<SpecialtyVO[]> => {
return await request.get({ url: '/exam/specialty/simple-list' })
}
// 查询部门列表
export const getSpecialtyPage = async (params: PageParam) => {
return await request.get({ url: '/exam/specialty/list', params })
}
// 查询部门列表
export const getSpecialtyPart = async () => {
return await request.get({ url: '/exam/specialty/part' })
}
// 查询部门详情
export const getSpecialty = async (id: number) => {
return await request.get({ url: '/exam/specialty/' + id })