教师管理同步接口

This commit is contained in:
zhaofang
2022-06-06 11:04:50 +08:00
parent f9242c3576
commit e3d0f03e18
3 changed files with 61 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ const getInfoById = function(id) {
* name 姓名
* tlevelId级别
* salaryId发薪地
tsystemId这个应该是教师体系,他注释没有写明白
* tsystemId
* } query
* @returns
@@ -187,6 +187,17 @@ const exports=function(query){
const findAllCourses=function(query){
return ajax.post('/xboe/teacher/compose/find/courses',query);
}
/**
* 内部讲师-删除模块讲师接口
* @param {
courseId // 课程id
modId // 模块id
teacherId // 教师id
remark // 备注
*/
const syncUpdate = function(data) {
return ajax.postJson('/xboe/teacher/update-sync',data);
}
export default {
findByName,
@@ -201,5 +212,6 @@ export default {
has,
start,
end,
exports
exports,
syncUpdate
}