|
|
|
@ -1,6 +1,7 @@ |
|
|
|
|
import Setting from "@/setting"; |
|
|
|
|
|
|
|
|
|
const host = Setting.apiBaseURL; |
|
|
|
|
const host = Setting.apiBaseURL |
|
|
|
|
const host1 = 'http://192.168.31.137:9000/' |
|
|
|
|
const uploadURL = location.origin + '/' |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
@ -61,31 +62,28 @@ export default { |
|
|
|
|
collectPaper: `occupationlab/occupationlab/assessment/collectPaper`, // 自动结束考试
|
|
|
|
|
|
|
|
|
|
// 课程学习
|
|
|
|
|
queryGlClassification: `occupationlab/occupationlab/management/edu/courseClassification/queryGlClassification`, // 查询课程分类
|
|
|
|
|
queryCourseByCondition: `occupationlab/occupationlab/management/edu/course/queryCourseByCondition`, // 课程列表分页条件查询
|
|
|
|
|
getCourseById: `occupationlab/occupationlab/management/edu/course/getCourse`, // 根据id查询课程
|
|
|
|
|
queryChaptersAndSubsections: `occupationlab/occupationlab/management/edu/courseChapter/queryChaptersAndSubsections`, // 根据课程id查询章节小节,树状结构
|
|
|
|
|
getSubsection: `occupationlab/occupationlab/management/edu/courseSubsection/getSubsection`, // 根据小节id获取预览文件地址
|
|
|
|
|
pageConditionalQueryCourseByStudent: `occupationlab/occupationlab/theoreticalCourse/pageConditionalQueryCourseByStudent`, |
|
|
|
|
listClassification: `occupationlab/occupationlab/theoreticalCourseClassification/pagingQuery`, |
|
|
|
|
findByIdCourse: `occupationlab/occupationlab/theoreticalCourse/findById`, |
|
|
|
|
playRecordSave: `occupationlab/occupationlab/playRecord/save`, |
|
|
|
|
|
|
|
|
|
// 资讯
|
|
|
|
|
queryAllColumns: `occupationlab/occupationlab/enterprise/information/column/queryAllColumns`, // 栏目树
|
|
|
|
|
queryArticleByCondition: `occupationlab/occupationlab/enterprise/information/article/queryArticleByCondition`, // 文章列表分页条件查询
|
|
|
|
|
getArticle: `occupationlab/occupationlab/enterprise/information/article/getArticle`, // 根据id查询文章
|
|
|
|
|
firstLevelColumn: `occupationlab/occupationlab/enterprise/information/column/firstLevelColumn`, |
|
|
|
|
secondaryColumnsByFirst: `occupationlab/occupationlab/enterprise/information/column/secondaryColumnsByFirst`, |
|
|
|
|
queryAllColumns: `${host1}occupationlab/occupationlab/information/column/queryAllColumns`, // 栏目树
|
|
|
|
|
queryArticleByCondition: `${host1}occupationlab/occupationlab/information/article/queryArticleByCondition`, // 文章列表分页条件查询
|
|
|
|
|
getArticle: `${host1}occupationlab/occupationlab/information/article/getArticle`, // 根据id查询文章
|
|
|
|
|
|
|
|
|
|
// 线上赛事
|
|
|
|
|
notLoggedInBeforeStudentEvents: `occupationlab/occupationlab/enterprise/match/contest/notLoggedInBeforeStudentEvents`, |
|
|
|
|
contestPageConditionQueryByOccupationlabStu: `occupationlab/occupationlab/enterprise/match/contest/contestPageConditionQueryByOccupationlabStu`, |
|
|
|
|
contestPageConditionQueryByOccupationlab: `occupationlab/occupationlab/enterprise/match/contest/onlineCompetitionByStudent`, |
|
|
|
|
listOfRegisteredEvents: `occupationlab/occupationlab/enterprise/match/contest/listOfRegisteredEvents`, |
|
|
|
|
addApplicant: `occupationlab/occupationlab/enterprise/match/applicant/addApplicant`, // 添加报名人员
|
|
|
|
|
getContestProgress: `occupationlab/occupationlab/enterprise/match/contest-progress/getContestProgress`, // 根据赛事id查询竞赛进展
|
|
|
|
|
getContest: `occupationlab/occupationlab/enterprise/match/contest/getContest`, // 根据id查询赛事
|
|
|
|
|
notLoggedInBeforeStudentEvents: `occupationlab/occupationlab/match/contest/notLoggedInBeforeStudentEvents`, |
|
|
|
|
contestPageConditionQueryByOccupationlabStu: `occupationlab/occupationlab/match/contest/contestPageConditionQueryByOccupationlabStu`, |
|
|
|
|
contestPageConditionQueryByOccupationlab: `occupationlab/occupationlab/match/contest/onlineCompetitionByStudent`, |
|
|
|
|
listOfRegisteredEvents: `occupationlab/occupationlab/match/contest/listOfRegisteredEvents`, |
|
|
|
|
addApplicant: `occupationlab/occupationlab/match/applicant/addApplicant`, // 添加报名人员
|
|
|
|
|
getContestProgress: `occupationlab/occupationlab/match/contest-progress/getContestProgress`, // 根据赛事id查询竞赛进展
|
|
|
|
|
getContest: `occupationlab/occupationlab/match/contest/getContest`, // 根据id查询赛事
|
|
|
|
|
queryAnnouncementByContestId: `occupationlab/occupationlab/contest/announcement/queryAnnouncementByContestId`, |
|
|
|
|
queryAnnouncementDetails: `occupationlab/occupationlab/contest/announcement/queryAnnouncementDetails`, |
|
|
|
|
contestAfterLogin: `occupationlab/occupationlab/enterprise/match/contest/contestAfterLogin`, |
|
|
|
|
cancelRegistration: `occupationlab/occupationlab/enterprise/match/applicant/cancelRegistration`, |
|
|
|
|
cancelRegistration: `occupationlab/occupationlab/match/applicant/cancelRegistration`, |
|
|
|
|
|
|
|
|
|
// 阿里云文件/视频管理
|
|
|
|
|
fileDeletion: `${uploadURL}oss/manage/fileDeletion`, // 删除OSS文件
|
|
|
|
|