|
|
@ -14,6 +14,8 @@ accounts:{
|
|
|
|
valid_email_and_phone: { query,form: {login: null, type: 1 } },
|
|
|
|
valid_email_and_phone: { query,form: {login: null, type: 1 } },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_department_applies:{config, query, form:{school_id:null, name:null, remarks:void 0}},
|
|
|
|
|
|
|
|
|
|
|
|
attachments:{url:{_:1,DELETE:'*/{attachment_id}',uploadFile:"*"},query,form:{_:1,uploadFile:{file:null},DELETE:{}},config:{method:"uploadFile", name:"file"}},
|
|
|
|
attachments:{url:{_:1,DELETE:'*/{attachment_id}',uploadFile:"*"},query,form:{_:1,uploadFile:{file:null},DELETE:{}},config:{method:"uploadFile", name:"file"}},
|
|
|
|
|
|
|
|
|
|
|
|
courses:{ url:{_:"*", DELETE:"*/{course_id}",PUT:"*/{course_id}"},query, form:{_:1,GET:{search:"",limit:20, page:1, order:"all"}, POST:{course_list_name:null,name:null,school: null,end_date: null,class_period:null,credit:null,course_module_types:["shixun_homework","common_homework","group_homework","exercise","attachment","course_group"],authentication:null,professional_certification:null},PUT:{course_list_name:null,name:null,school: null,end_date: null,class_period:null,credit:null,course_module_types:["shixun_homework","common_homework","group_homework","exercise","attachment","course_group"],authentication:null,professional_certification:null}},
|
|
|
|
courses:{ url:{_:"*", DELETE:"*/{course_id}",PUT:"*/{course_id}"},query, form:{_:1,GET:{search:"",limit:20, page:1, order:"all"}, POST:{course_list_name:null,name:null,school: null,end_date: null,class_period:null,credit:null,course_module_types:["shixun_homework","common_homework","group_homework","exercise","attachment","course_group"],authentication:null,professional_certification:null},PUT:{course_list_name:null,name:null,school: null,end_date: null,class_period:null,credit:null,course_module_types:["shixun_homework","common_homework","group_homework","exercise","attachment","course_group"],authentication:null,professional_certification:null}},
|
|
|
@ -130,7 +132,6 @@ tasks:{url:"*/{identifier}",query,
|
|
|
|
|
|
|
|
|
|
|
|
users:{
|
|
|
|
users:{
|
|
|
|
accounts: { url: "*/{user_id}", query, form:{_:1, GET:{school:1},PUT:{department_id:void 0, gender:void 0, identity:void 0, location:void 0, location_city:void 0, name: void 0, nickname: void 0, school_id:void 0, show_realname:void 0,student_id:void 0,technical_title:void 0},DELETE:{}},
|
|
|
|
accounts: { url: "*/{user_id}", query, form:{_:1, GET:{school:1},PUT:{department_id:void 0, gender:void 0, identity:void 0, location:void 0, location_city:void 0, name: void 0, nickname: void 0, school_id:void 0, show_realname:void 0,student_id:void 0,technical_title:void 0},DELETE:{}},
|
|
|
|
|
|
|
|
|
|
|
|
avatar:{url:"{login}/*",query, form:{image:null} ,config:{method:"PUT"}},
|
|
|
|
avatar:{url:"{login}/*",query, form:{image:null} ,config:{method:"PUT"}},
|
|
|
|
authentication_apply:{url:"{user_id}/*",query,form:{name: null, gender: null,id_number: null, show_realname: null, attachment_ids: null},config},
|
|
|
|
authentication_apply:{url:"{user_id}/*",query,form:{name: null, gender: null,id_number: null, show_realname: null, attachment_ids: null},config},
|
|
|
|
email: { url: "{login}/*", query, config, form: { email: null, code: null } },
|
|
|
|
email: { url: "{login}/*", query, config, form: { email: null, code: null } },
|
|
|
@ -146,7 +147,8 @@ users:{
|
|
|
|
system_update:{query:query},
|
|
|
|
system_update:{query:query},
|
|
|
|
/*{"system_update":true,"system_score":"为了给大家提供更优质的体验,平台将于2020年3月24日13:20开始对系统进行升级。升级期间系统响应会有一定的延迟。系统拟于2020年3月24日13:30恢复正常。\r\n请大家知悉,并提前做好教学安排。带来不便,敬请谅解。","subject":" educoder升级服务通知","start_time":"2020-03-24T13:20:00.000+08:00","end_time":"2020-03-24T13:30:00.000+08:00"}*/
|
|
|
|
/*{"system_update":true,"system_score":"为了给大家提供更优质的体验,平台将于2020年3月24日13:20开始对系统进行升级。升级期间系统响应会有一定的延迟。系统拟于2020年3月24日13:30恢复正常。\r\n请大家知悉,并提前做好教学安排。带来不便,敬请谅解。","subject":" educoder升级服务通知","start_time":"2020-03-24T13:20:00.000+08:00","end_time":"2020-03-24T13:30:00.000+08:00"}*/
|
|
|
|
tidings: {query, form:{type:"",page:1,per_page:10}, data:"type:course,project,interaction,apply,notice"},
|
|
|
|
tidings: {query, form:{type:"",page:1,per_page:10}, data:"type:course,project,interaction,apply,notice"},
|
|
|
|
unread_message_info:{url:"{login}/*", query}
|
|
|
|
unread_message_info:{url:"{login}/*", query},
|
|
|
|
|
|
|
|
watch:{url:"{user_id}/*",query,config,disp:"关注用户,delete取消关注"}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
weapps:{
|
|
|
|
weapps:{
|
|
|
|