【修改】专业-课程-题型 API接口修改
This commit is contained in:
@@ -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 })
|
||||
|
Reference in New Issue
Block a user