Commit cd4095bdc07c946ec7c2209c6ddc06f25ec57f97
1 parent
4c304aeb
fix:api地址参数重名
Showing
2 changed files
with
8 additions
and
10 deletions
src/api/apis/apis.js
... | ... | @@ -1049,14 +1049,14 @@ export default { |
1049 | 1049 | }, |
1050 | 1050 | // 获取科目列表 |
1051 | 1051 | getSubjectList(data) { |
1052 | - return defaltService(setUpUrls.subjectList, data); | |
1052 | + return defaltService(setUpUrls.teacherSubjectList, data); | |
1053 | 1053 | }, |
1054 | 1054 | // 获取年级信息 |
1055 | 1055 | getClassList(data) { |
1056 | - return defaltService(setUpUrls.classList, data); | |
1056 | + return defaltService(setUpUrls.teacherClassList, data); | |
1057 | 1057 | }, |
1058 | 1058 | // 获取班级信息 |
1059 | 1059 | getGradeList(data) { |
1060 | - return defaltGetService(setUpUrls.gradeList, data); | |
1060 | + return defaltGetService(setUpUrls.teacherGradeList, data); | |
1061 | 1061 | }, |
1062 | 1062 | }; | ... | ... |
src/api/urls/apis.js
... | ... | @@ -495,17 +495,15 @@ export default { |
495 | 495 | //获取即时测报表学生名单和题目列表 |
496 | 496 | listStudentsAndQuestions: "/api_html/teaching/listStudentsAndQuestions", |
497 | 497 | //分页查询授课端日志列表 |
498 | - deviceZipLogList: "/api_html/school/manager/deviceZipLogList", | |
499 | - | |
498 | + deviceZipLogList: "/api_html/school/manager/deviceZipLogList", | |
500 | 499 | //获取即时测报表录分情况 |
501 | - getScoreType: "/api_html/teaching/getScoreType", | |
502 | - | |
500 | + getScoreType: "/api_html/teaching/getScoreType", | |
503 | 501 | // 获取错题本列表 |
504 | 502 | wrongQuestionList: "api_html/teaching/wrongQuestion/list", |
505 | 503 | // 获取科目列表 |
506 | - subjectList: "api_html/teaching/subjectList", | |
504 | + teacherSubjectList: "api_html/teaching/subjectList", | |
507 | 505 | // 获取年级信息 |
508 | - classList: "api_html/teaching/classList", | |
506 | + teacherClassList: "api_html/teaching/classList", | |
509 | 507 | // 获取班级信息 |
510 | - gradeList: "api_html/teaching/grade", | |
508 | + teacherGradeList: "api_html/teaching/grade", | |
511 | 509 | }; | ... | ... |