You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
7.6 KiB

4 years ago
import Setting from "@/setting";
3 years ago
const host = Setting.apiBaseURL;
const host1 = `http://192.168.31.137:9000/`
const uploadURL = "http://39.108.250.202:9000/";
4 years ago
export default {
3 years ago
logins: `${host1}users/users/user/login`,
verification: `${host1}users/users/user/captcha`,// 验证码图片
3 years ago
logoDetail: `occupationlab/sys/logo/detail`, //查看系统设置信息
3 years ago
isClient: `${host1}users/users/user/isClient`,
sendPhoneVerificationCode: `${host1}users/users/user/sendPhoneVerificationCode`,
getToken: `${host1}users/users/user/getToken`,
3 years ago
getOtherAccountByPhone: `${host1}users/users/user/getOtherAccountByPhone`,
unbindAccounts: `${host1}users/users/user/getOtherAccountunbindAccountsByPhone`,
4 years ago
3 years ago
platformLogList: `nakadai/log/platformLogList`,
logNotification: `nakadai/log/logNotification`,
4 years ago
//实验台
3 years ago
curriculumDetail: `nakadai/nakadai/curriculum/curriculumDetail`, // 课程详情
curriculumChapter: `nakadai/curriculum/chapter/queryChaptersAndSubsections`, // 根据课程id查询章节小节,树状结构
curriculumGetSubsection: `nakadai/curriculum/subsection/getSubsection`, // 根据小节id获取预览文件地址
4 years ago
// 能力测评
3 years ago
canExperiment: `occupationlab/occupationlab/evaluationrecord/can_experiment`, // 查询是否能够开启实验
experimentDetail: `occupationlab/occupationlab/evaluationrecord/detail`, // 成绩详情
experimentNext: `occupationlab/occupationlab/evaluationrecord/next`, // 下一题
experimentNotmade: `occupationlab/occupationlab/evaluationrecord/not_made`, // 提交之前查询是否还有未做完的试题
openExercise: `occupationlab/occupationlab/evaluationrecord/openExercise`, // 查询是否能开启虚拟仿真实验
openTeaching: `occupationlab/occupationlab/evaluationrecord/openTeaching`, // 查询是否能开启教学实验
experimentPrevious: `occupationlab/occupationlab/evaluationrecord/previous`, // 上一题
experimentRemaining: `occupationlab/occupationlab/evaluationrecord/remaining`, // 获取测评剩余时间
experimentStart: `occupationlab/occupationlab/evaluationrecord/start`, // 开始测评
experimentSubmit: `occupationlab/occupationlab/evaluationrecord/submit`, // 提交测评
4 years ago
4 years ago
// 实验记录
3 years ago
schoolCourse: `nakadai/nakadai/curriculum/schoolCourse`, // 获取学校购买订单后的课程
experimentOverview: `occupationlab/achievement/experimentOverview`, //实验概览
queryAssessmentByStudent: `occupationlab/achievement/queryAssessmentByStudent`, //学生端考核成绩
queryPracticeByStudent: `occupationlab/achievement/queryPracticeByStudent`, //学生端练习成绩
exportAssessmentByStudent: `occupationlab/achievement/exportAssessmentByStudent`, // 批量导出考核成绩
exportPracticeByStudent: `occupationlab/achievement/exportPracticeByStudent`, // 批量导出练习成绩
practiceByStudentDetail: `occupationlab/achievement/practiceByStudentDetail`, // 学生端练习实验情况
exportPracticeByStudentDetail: `occupationlab/achievement/exportPracticeByStudentDetail`, // 导出学生端练习实验情况
reportDetail: `occupationlab/achievement/reportDetail`, // 成绩报告详情
updateReport: `occupationlab/achievement/updateReport`, // 更新成绩报告
schoolCourseByAchievement: `nakadai/nakadai/curriculum/schoolCourseByAchievement`, // 获取学校购买订单后的课程
exportLabReport: `occupationlab/achievement/exportLabReport`,
exportBankExperimentReport: `occupationlab/achievement/exportBankExperimentReport`,
4 years ago
4 years ago
// 考核列表
3 years ago
pageStuAssessment: `occupationlab/assessment/pageStuAssessment`, // 学生端——学生考核列表
getPythonSysByStuAccountId: `occupationlab/assessment/getPythonSysByStuAccountId`, // 学生端——课程名称
myClassByStudent: `occupationlab/achievement/myClassByStudent`, // 学生端:我的班级
getStudentInfoByAccountId: `occupationlab/architecture/getStudentInfoByAccountId`, // 查看学生信息
enterExam: `occupationlab/assessment/enterExam`, // 学生端——进入考试
collectPaper: `occupationlab/assessment/collectPaper`, // 自动结束考试
4 years ago
// 课程学习
3 years ago
queryGlClassification: `occupationlab/management/edu/courseClassification/queryGlClassification`, // 查询课程分类
queryCourseByCondition: `occupationlab/management/edu/course/queryCourseByCondition`, // 课程列表分页条件查询
getCourseById: `occupationlab/management/edu/course/getCourse`, // 根据id查询课程
queryChaptersAndSubsections: `occupationlab/management/edu/courseChapter/queryChaptersAndSubsections`, // 根据课程id查询章节小节,树状结构
getSubsection: `occupationlab/management/edu/courseSubsection/getSubsection`, // 根据小节id获取预览文件地址
4 years ago
// 资讯
3 years ago
queryAllColumns: `occupationlab/enterprise/information/column/queryAllColumns`, // 栏目树
queryArticleByCondition: `occupationlab/enterprise/information/article/queryArticleByCondition`, // 文章列表分页条件查询
getArticle: `occupationlab/enterprise/information/article/getArticle`, // 根据id查询文章
firstLevelColumn: `occupationlab/enterprise/information/column/firstLevelColumn`,
secondaryColumnsByFirst: `occupationlab/enterprise/information/column/secondaryColumnsByFirst`,
4 years ago
// 线上赛事
3 years ago
onlineContestQuery: `occupationlab/enterprise/match/onlineContest/onlineContestQuery`, // 线上赛事列表分页条件查询
addApplicant: `occupationlab/enterprise/match/applicant/addApplicant`, // 添加报名人员
getContestProgress: `occupationlab/enterprise/match/contest-progress/getContestProgress`, // 根据赛事id查询竞赛进展
getContest: `occupationlab/enterprise/match/contest/getContest`, // 根据id查询赛事
4 years ago
// 阿里云文件/视频管理
fileDeletion: `${uploadURL}oss/manage/fileDeletion`, // 删除OSS文件
fileupload: `${uploadURL}oss/manage/fileupload`, // 文件上传
getPlayAuth: `${uploadURL}oss/manage/getPlayAuth`, // 获取播放凭证
3 years ago
queryProvince: `nakadai/nakadai/province/queryProvince`, //查询省份
queryCity: `nakadai/nakadai/city/queryCity`, //查询城市
3 years ago
querySchool: `${host1}nakadai/nakadai/school/querySchool`, //根据学校名称查询学校信息
3 years ago
queryCourseDiscipline: `nakadai/nakadai/subject/courseDiscipline`, //查询课程学科
queryCourseProfessionalClass: `nakadai/nakadai/subject/courseProfessionalClass`, //查询专业类
queryCourseProfessional: `nakadai/nakadai/subject/courseProfessional`, //查询专业
4 years ago
// 个人中心
3 years ago
uploadUserAvatars: `${host}users/users/userAccount/updateUserAvatars`, //更改头像
3 years ago
queryUserInfoDetails: `users/users/userAccount/queryUserInfoDetails`,//个人中心信息展示
updatePersonCenter: `users/users/userAccount/updatePersonCenter`,//个人中心信息修改
examinePassword: `users/users/userAccount/examinePassword`,//更换密码
bindPhoneOrEmail: `users/users/userAccount/bindPhoneOrEmail`,// 绑定手机或邮箱
sendPhoneOrEmailCode: `users/users/userAccount/sendPhoneOrEmailCode`,// 更换手机号或邮箱--发送手机验证码
3 years ago
unbindMobilePhone: `users/users/userAccount/unbindMobilePhone`,
4 years ago
3 years ago
joinPractice: `tms/classTech/joinPractice`, //通过邀请码进入实验
queryArchievement: `tms/classTech/queryExperimentalReport`, //查看教学实验报告
queryVirtualReport: `tms/classTech/queryVirtualReport`, //查看虚仿实验报告
checkInvitationCode: `tms/classTech/checkInvitationCode`, //校验是否需要邀请码
userRecord: `tms/classTech/userRecord`, //查询班级实验列表信息
modifyReport: `Achievement/modify`
4 years ago
};