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.
45 lines
797 B
45 lines
797 B
import $http from '@/utils/http.js'
|
|
|
|
/** 根据id获取绑定的题目json串 */
|
|
export const getBindJson = (data) => {
|
|
return $http({
|
|
method: 'POST',
|
|
url: 'small/project/question/getBindJsonApp',
|
|
data
|
|
})
|
|
}
|
|
|
|
/** 答题次 */
|
|
export const addQuestionFre = (data) => {
|
|
return $http({
|
|
method: 'POST',
|
|
url: 'small/questionFre/add',
|
|
data
|
|
})
|
|
}
|
|
|
|
/** 答题 */
|
|
export const addAnswer = (data) => {
|
|
return $http({
|
|
method: 'POST',
|
|
url: 'small/questionAnswer/add',
|
|
data
|
|
})
|
|
}
|
|
|
|
/** 答题 */
|
|
export const getAnswerByFreId = (data) => {
|
|
return $http({
|
|
method: 'POST',
|
|
url: 'small/questionAnswer/add',
|
|
data
|
|
})
|
|
}
|
|
|
|
/** 获取答题顺序 */
|
|
export const queryQAByFreId = (data) => {
|
|
return $http({
|
|
method: 'GET',
|
|
url: 'small/questionAnswer/queryQAByFreId/'+data
|
|
})
|
|
}
|