|
|
|
@ -1,11 +1,9 @@ |
|
|
|
|
import Setting from "@/setting"; |
|
|
|
|
|
|
|
|
|
// let host = `${Setting.apiBaseURL}evaluation/`;
|
|
|
|
|
let host = Setting.apiBaseURL; |
|
|
|
|
let uploadURL = "http://39.108.250.202:10000/"; |
|
|
|
|
let loginhost = `${Setting.apiBaseURL}liuwanr/`; |
|
|
|
|
|
|
|
|
|
let host = "http://192.168.31.151:9000/"; // 榕
|
|
|
|
|
// let host = "http://192.168.31.137:9000/"; // 赓
|
|
|
|
|
// let host = "http://39.108.250.202:9000/"; // 测试服
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
host, |
|
|
|
@ -56,8 +54,6 @@ export default { |
|
|
|
|
queryChaptersAndSubsections: `${host}occupationlab/management/edu/courseChapter/queryChaptersAndSubsections`, // 根据课程id查询章节小节,树状结构
|
|
|
|
|
getSubsection: `${host}occupationlab/management/edu/courseSubsection/getSubsection`, // 根据小节id获取预览文件地址
|
|
|
|
|
|
|
|
|
|
getPlayAuth: `${host}nakadai/nakadai/oss/getPlayAuth`, // 获取播放凭证
|
|
|
|
|
|
|
|
|
|
// 资讯
|
|
|
|
|
queryAllColumns: `${host}occupationlab/enterprise/information/column/queryAllColumns`, // 栏目树
|
|
|
|
|
queryArticleByCondition: `${host}occupationlab/enterprise/information/article/queryArticleByCondition`, // 文章列表分页条件查询
|
|
|
|
@ -69,6 +65,11 @@ export default { |
|
|
|
|
getContestProgress: `${host}occupationlab/enterprise/match/contest-progress/getContestProgress`, // 根据赛事id查询竞赛进展
|
|
|
|
|
getContest: `${host}occupationlab/enterprise/match/contest/getContest`, // 根据id查询赛事
|
|
|
|
|
|
|
|
|
|
// 阿里云文件/视频管理
|
|
|
|
|
fileDeletion: `${uploadURL}oss/manage/fileDeletion`, // 删除OSS文件
|
|
|
|
|
fileupload: `${uploadURL}oss/manage/fileUpload`, // 文件上传
|
|
|
|
|
getPlayAuth: `${uploadURL}oss/manage/getPlayAuth`, // 获取播放凭证
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|