|
|
@ -2,6 +2,7 @@ import Setting from "@/setting"; |
|
|
|
const host = Setting.apiBaseURL |
|
|
|
const host = Setting.apiBaseURL |
|
|
|
const uploadURL = Setting.upload.apiURL; |
|
|
|
const uploadURL = Setting.upload.apiURL; |
|
|
|
const host1 = "http://121.37.12.51:8080/" |
|
|
|
const host1 = "http://121.37.12.51:8080/" |
|
|
|
|
|
|
|
const host2 = 'http://192.168.31.137:9000/' |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
queryToken: `liuwanr/userInfo/queryToken`, |
|
|
|
queryToken: `liuwanr/userInfo/queryToken`, |
|
|
@ -141,20 +142,20 @@ export default { |
|
|
|
saveAnnouncementAnnex: `occupationlab/occupationlab/contestAnnouncementAnnex/save`, |
|
|
|
saveAnnouncementAnnex: `occupationlab/occupationlab/contestAnnouncementAnnex/save`, |
|
|
|
|
|
|
|
|
|
|
|
// 栏目管理
|
|
|
|
// 栏目管理
|
|
|
|
addColumn: `occupationlab/occupationlab/enterprise/information/column/addColumn`, |
|
|
|
addColumn: `${host2}occupationlab/occupationlab/information/column/addColumn`, |
|
|
|
deleteColumn: `occupationlab/occupationlab/enterprise/information/column/deleteColumn`, |
|
|
|
deleteColumn: `${host2}occupationlab/occupationlab/information/column/deleteColumn`, |
|
|
|
editColumn: `occupationlab/occupationlab/enterprise/information/column/editColumn`, |
|
|
|
editColumn: `${host2}occupationlab/occupationlab/information/column/editColumn`, |
|
|
|
queryAllColumns: `occupationlab/occupationlab/enterprise/information/column/queryAllColumns`, |
|
|
|
queryAllColumns: `${host2}occupationlab/occupationlab/information/column/queryAllColumns`, |
|
|
|
columnReorder: `occupationlab/occupationlab/enterprise/information/column/reorder`, |
|
|
|
columnReorder: `${host2}occupationlab/occupationlab/information/column/reorder`, |
|
|
|
// 内容管理
|
|
|
|
// 内容管理
|
|
|
|
addArticle: `occupationlab/occupationlab/enterprise/information/article/addArticle`, |
|
|
|
addArticle: `${host2}occupationlab/occupationlab/information/article/addArticle`, |
|
|
|
deleteArticles: `occupationlab/occupationlab/enterprise/information/article/deleteArticles`, |
|
|
|
deleteArticles: `${host2}occupationlab/occupationlab/information/article/deleteArticles`, |
|
|
|
editArticle: `occupationlab/occupationlab/enterprise/information/article/editArticle`, |
|
|
|
editArticle: `${host2}occupationlab/occupationlab/information/article/editArticle`, |
|
|
|
enableArticle: `occupationlab/occupationlab/enterprise/information/article/enableArticle`, |
|
|
|
enableArticle: `${host2}occupationlab/occupationlab/information/article/enableArticle`, |
|
|
|
getArticle: `occupationlab/occupationlab/enterprise/information/article/getArticle`, |
|
|
|
getArticle: `${host2}occupationlab/occupationlab/information/article/getArticle`, |
|
|
|
getArticles: `occupationlab/occupationlab/enterprise/information/article/getArticles`, |
|
|
|
getArticles: `${host2}occupationlab/occupationlab/information/article/getArticles`, |
|
|
|
queryArticleByCondition: `occupationlab/occupationlab/enterprise/information/article/queryArticleByCondition`, |
|
|
|
queryArticleByCondition: `${host2}occupationlab/occupationlab/information/article/queryArticleByCondition`, |
|
|
|
articleSort: `occupationlab/occupationlab/enterprise/information/article/articleSort`, |
|
|
|
articleSort: `${host2}occupationlab/occupationlab/information/article/articleSort`, |
|
|
|
|
|
|
|
|
|
|
|
// 课程管理
|
|
|
|
// 课程管理
|
|
|
|
queryCourseByCondition: `occupationlab/occupationlab/management/edu/course/queryCourseByCondition`, // 课程列表分页条件查询
|
|
|
|
queryCourseByCondition: `occupationlab/occupationlab/management/edu/course/queryCourseByCondition`, // 课程列表分页条件查询
|
|
|
@ -165,10 +166,12 @@ export default { |
|
|
|
enableCourse: `occupationlab/occupationlab/management/schoolCourse/enableGlCourse`, // 是否启用管理端课程
|
|
|
|
enableCourse: `occupationlab/occupationlab/management/schoolCourse/enableGlCourse`, // 是否启用管理端课程
|
|
|
|
getCourse: `occupationlab/occupationlab/management/edu/course/getCourse`, // 根据id查询课程
|
|
|
|
getCourse: `occupationlab/occupationlab/management/edu/course/getCourse`, // 根据id查询课程
|
|
|
|
// 分类管理
|
|
|
|
// 分类管理
|
|
|
|
queryGlClassification: `occupationlab/occupationlab/management/edu/courseClassification/queryGlClassification`, |
|
|
|
checkRepeat: `occupationlab/theoreticalCourseClassification/checkRepeat`, |
|
|
|
deleteClassification: `occupationlab/occupationlab/management/edu/courseClassification/deleteClassification`, |
|
|
|
delClassification: `occupationlab/theoreticalCourseClassification/delete`, |
|
|
|
addClassification: `occupationlab/occupationlab/management/edu/courseClassification/addClassification`, |
|
|
|
findClassification: `occupationlab/theoreticalCourseClassification/findById`, |
|
|
|
editClassification: `occupationlab/occupationlab/management/edu/courseClassification/editClassification`, |
|
|
|
listClassification: `occupationlab/theoreticalCourseClassification/pagingQuery`, |
|
|
|
|
|
|
|
saveClassification: `occupationlab/theoreticalCourseClassification/save`, |
|
|
|
|
|
|
|
updateClassification: `occupationlab/theoreticalCourseClassification/update`, |
|
|
|
// 课程章节管理
|
|
|
|
// 课程章节管理
|
|
|
|
addChapter: `occupationlab/occupationlab/management/edu/courseChapter/addChapter`, |
|
|
|
addChapter: `occupationlab/occupationlab/management/edu/courseChapter/addChapter`, |
|
|
|
chapterReorder: `occupationlab/occupationlab/management/edu/courseChapter/chapterReorder`, |
|
|
|
chapterReorder: `occupationlab/occupationlab/management/edu/courseChapter/chapterReorder`, |
|
|
|