新增讲师接口修改

This commit is contained in:
zhangsir
2024-11-11 11:08:49 +08:00
parent 8a2078cd06
commit dabca2e636
6 changed files with 76 additions and 38 deletions

View File

@@ -47,7 +47,7 @@ export const fileUp = (obj) => http.post('/file/upload', obj)
//组织树查询讲师
export const getTeacherByDepartId = (obj) => http.get(`/admin/thirdApi/user/list?departId=${obj.organizationId}&pageNo=1&pageSize=100&keyword=`)
//根据姓名工号查询讲师
export const getTeacherByNameOrUserNo = (obj) => https.post(`/user/teacherList`,obj)
export const getTeacherByNameOrUserNo = (obj) => https.post(`/user/noTeacherList`,obj)
// export const getTeacherByNameOrUserNo = (obj) => https.post(`/user/teacherList?keyword=${obj.nameOrUserNo}&pageNo=1&pageSize=50&departId=`)
//根据userid获取讲师体系信息
export const getSystemInfoByUserId = (id) => http.get(`/admin/system/getSystemInfoByUserId?id=${id}`)