diff --git a/api/eduApp/index.js b/api/eduApp/index.js index a1daf44..615c77b 100644 --- a/api/eduApp/index.js +++ b/api/eduApp/index.js @@ -72,7 +72,6 @@ export function getExamRankById(params) { }) } - // 练习-列表 /personalCenter/getStudentPracticeList export function getStudentPracticeList(params) { return request({ @@ -81,3 +80,75 @@ export function getStudentPracticeList(params) { data: params }) } + +// 练习-总览 /studentPractice/getPracticeQuestionRate +export function getPracticeQuestionRate(params) { + return request({ + url: '/studentPractice/getPracticeQuestionRate', + method: 'post', + data: params + }) +} + +// 练习-聚合数据 /studentPractice/getPracticeItData +export function getPracticeItData(params) { + return request({ + url: '/studentPractice/getPracticeItData', + method: 'post', + data: params + }) +} + +// 练习-题目 studentPractice/getPracticeQuestion +export function getPracticeQuestion(params) { + return request({ + url: '/studentPractice/getPracticeQuestion', + method: 'post', + data: params + }) +} + +// 练习-答题 studentPractice/insertPracticeAnswerById +export function insertPracticeAnswerById(params) { + return request({ + url: '/studentPractice/insertPracticeAnswerById', + method: 'post', + data: params + }) +} + +// 练习-前后题-跳题 studentPractice/changeQuestion +export function changeQuestion(params) { + return request({ + url: '/studentPractice/changeQuestion', + method: 'post', + data: params + }) +} + +// 练习-弹框序号跳题 /studentPractice/getPracticeQuestionList +export function getPracticeQuestionList(params) { + return request({ + url: '/studentPractice/getPracticeQuestionList', + method: 'post', + data: params + }) +} + +// 练习-保存练习时长 /studentPractice/savePracticeDuration +export function savePracticeDuration(params) { + return request({ + url: '/studentPractice/savePracticeDuration', + method: 'post', + data: params + }) +} + +// 练习-错题消除 studentPractice/updateRemoveRecordData +export function updateRemoveRecordData(params) { + return request({ + url: '/studentPractice/updateRemoveRecordData', + method: 'post', + data: params + }) +} diff --git a/config.js b/config.js index aa253f8..072534a 100644 --- a/config.js +++ b/config.js @@ -2,7 +2,7 @@ module.exports = { // baseUrl:'/prod-api', // baseUrl:'http://112.29.103.165:1616/ynuw', - baseUrl:'http://192.168.0.32:2900/exam-student', + baseUrl:'http://192.168.0.137:2900/exam-student', // 上传文件地址 uploadUrl: 'http://192.168.0.137:2909/exam-file/file/uploadBase64', bmwUrl: 'http://192.168.0.137:2911/exam-bmw', diff --git a/pages/YNEduApp/prac/exercises.vue b/pages/YNEduApp/prac/exercises.vue index 6ea9bdf..83bbf46 100644 --- a/pages/YNEduApp/prac/exercises.vue +++ b/pages/YNEduApp/prac/exercises.vue @@ -4,25 +4,25 @@