YNUtdPlatform/api/eduApp/index.js

84 lines
1.8 KiB
JavaScript
Raw Normal View History

2024-08-23 16:00:43 +08:00
import request from '@/utils/request'
2024-08-07 16:43:03 +08:00
// 我的消息
export function getNoticeAnnoByUserId(data) {
2024-08-23 16:00:43 +08:00
return request({
url: '/app/index/getNoticeAnnoByUserId',
method: 'post',
data: data
})
}
// 考试-列表 /personalCenter/getStudentExamList
export function getStudentExamList(params) {
return request({
url: '/personalCenter/getStudentExamList',
method: 'post',
data: params
})
}
// 考试-题目 /studentExam/getExamQuestionList
export function getExamQuestionList(params) {
return request({
url: '/studentExam/getExamQuestionList',
method: 'post',
data: params
})
}
// 考试-做题 /studentExam/insertQuestionAnswerById
export function insertQuestionAnswerById(params) {
return request({
url: '/studentExam/insertQuestionAnswerById',
method: 'post',
data: params
})
}
// 考试-交卷+结果 /studentExam/commitExamByRecordId
export function commitExamByRecordId(params) {
return request({
url: '/studentExam/commitExamByRecordId',
method: 'post',
data: params
})
}
// 考试-查询结果列表 /studentExam/getExamRecordById
export function getExamRecordById(params) {
return request({
url: '/studentExam/getExamRecordById',
method: 'get',
data: params
})
}
// 考试-结果详情 studentExam/getExamRecordAnswer
export function getExamRecordAnswer(params) {
return request({
url: '/studentExam/getExamRecordAnswer',
method: 'post',
data: params
})
}
// 考试-排名 studentExam/getExamRankById
export function getExamRankById(params) {
return request({
url: '/studentExam/getExamRankById',
method: 'post',
data: params
})
}
// 练习-列表 /personalCenter/getStudentPracticeList
export function getStudentPracticeList(params) {
return request({
url: '/personalCenter/getStudentPracticeList',
method: 'post',
data: params
})
2024-08-07 16:43:03 +08:00
}