mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
提交调整
This commit is contained in:
@@ -136,8 +136,28 @@ const teacherSystem = function(id) {
|
||||
return ajax.postJson('/b1/system/teacher/delete-model-teacher',data);
|
||||
}
|
||||
|
||||
//以下是新增加的两个接口,只是修改4个字段内容
|
||||
/**
|
||||
* @param {Object} data
|
||||
* {
|
||||
teacher_user_id:用户的kid,
|
||||
courses:'擅长的课程',
|
||||
photo:"",
|
||||
expertise:'',
|
||||
work:''
|
||||
}
|
||||
*/
|
||||
const simpleUpdate = function(data) {
|
||||
return ajax.postJson('/b1/system/teacher/update-teacher',data);
|
||||
}
|
||||
|
||||
const simpleInfo = function(kid) {
|
||||
return ajax.postJson('/b1/system/teacher/teacher-info',{teacher_user_id:kid});
|
||||
}
|
||||
|
||||
export default {
|
||||
simpleUpdate,
|
||||
simpleInfo,
|
||||
editTeacher,
|
||||
teacherSystem,
|
||||
teacherInfo,
|
||||
|
||||
Reference in New Issue
Block a user