zhangfei
2025-06-03 14c90f4513a26dbc30960121c57a3cdf60996aa3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import Vue from 'vue';
const http = Vue.prototype.$u
 
// 查询试卷信息列表
export function listPaper(data) {
    return http.get('/base/paper/list', data, { custom: { loading: true }});
}
// 查询试卷信息详细
export function getPaper(id) {
    return http.get('/base/paper/'+id, { custom: { loading: true }});
}
// 考试记录列表
export function userlist(data) {
    return http.get('/base/paper/user/list', data, { custom: { loading: true }});
}
// 考试
export function addUserPaper(data) {
    return http.post('/base/paper/user/add', data, { custom: { loading: true }});
}
// 考试详情
export function getUserPaper(id) {
    return http.get('/base/paper/user/'+id,  { custom: { loading: true }});
}