讲师管理修改新增讲师接口

This commit is contained in:
zhangsir
2024-10-15 15:50:09 +08:00
parent 2c739fe666
commit f1dccc314e
2 changed files with 7 additions and 11 deletions

View File

@@ -54,6 +54,6 @@ export const updateOutTeacher = (obj) => http.post('/admin/teacher/updateOutTeac
export const fileUp = (obj) => http.post('/file/upload', obj)
//组织树查询讲师
export const getTeacherByDepartId = (obj) => http.post(`/admin/teacher/getTeacherByDepartId?organizationId=${obj.organizationId}`)
export const getTeacherByDepartId = (obj) => http.get(`/admin/thirdApi/user/list?departId=${obj.organizationId}&pageNo=1&pageSize=1000&keyword=`)
//根据姓名工号查询讲师
export const getTeacherByNameOrUserNo = (obj) => http.post(`/admin/teacher/getTeacherByNameOrUserNo?nameOrUserNo=${obj.nameOrUserNo}`)
export const getTeacherByNameOrUserNo = (obj) => http.get(`/admin/thirdApi/user/list?keyword=${obj.nameOrUserNo}&pageNo=1&pageSize=50&departId=`)