parent
57d4bd7794
commit
90f47d711d
@ -1,38 +1,34 @@
|
|||||||
const api = {
|
const api = {
|
||||||
Login: '/auth/login',
|
// 用户认证相关接口
|
||||||
Logout: '/auth/logout',
|
Login: '/auth/login', // 用户登录接口
|
||||||
ForgePassword: '/auth/forge-password',
|
Logout: '/auth/logout', // 用户登出接口
|
||||||
Register: '/auth/register',
|
ForgePassword: '/auth/forge-password', // 重置密码接口
|
||||||
twoStepCode: '/auth/2step-code',
|
Register: '/auth/register', // 用户注册接口
|
||||||
SendSms: '/account/sms',
|
twoStepCode: '/auth/2step-code', // 双因素认证接口
|
||||||
SendSmsErr: '/account/sms_err',
|
SendSms: '/account/sms', // 发送短信接口
|
||||||
// get my info
|
SendSmsErr: '/account/sms_err', // 发送短信错误处理接口
|
||||||
UserInfo: '/user/info',
|
|
||||||
|
|
||||||
// 下面是自己的用户认证的接口
|
// 用户相关接口
|
||||||
UserRegister: '/user/register',
|
UserRegister: '/user/register', // 用户注册接口
|
||||||
UserLogin: '/user/login',
|
UserLogin: '/user/login', // 用户登录接口
|
||||||
|
|
||||||
// 考试的接口
|
// 考试相关接口
|
||||||
ExamQuestionList: '/exam/question/list',
|
ExamQuestionList: '/exam/question/list', // 获取问题列表接口
|
||||||
ExamQuestionAll: '/exam/question/all',
|
ExamQuestionAll: '/exam/question/all', // 获取所有问题接口
|
||||||
ExamQuestionUpdate: '/exam/question/update',
|
ExamQuestionUpdate: '/exam/question/update', // 更新问题接口
|
||||||
ExamQuestionSelection: '/exam/question/selection',
|
ExamQuestionSelection: '/exam/question/selection', // 获取问题分类选项接口
|
||||||
ExamQuestionCreate: '/exam/question/create',
|
ExamQuestionCreate: '/exam/question/create', // 创建问题接口
|
||||||
ExamList: '/exam/list',
|
ExamList: '/exam/list', // 获取考试列表接口
|
||||||
ExamAll: '/exam/all',
|
ExamAll: '/exam/all', // 获取所有考试接口
|
||||||
// 获取问题列表,按照单选、多选和判断进行分类
|
ExamQuestionTypeList: '/exam/question/type/list', // 获取问题类型列表接口
|
||||||
ExamQuestionTypeList: '/exam/question/type/list',
|
ExamCreate: '/exam/create', // 创建考试接口
|
||||||
ExamCreate: '/exam/create',
|
ExamUpdate: '/exam/update', // 更新考试信息接口
|
||||||
ExamUpdate: '/exam/update',
|
ExamCardList: '/exam/card/list', // 获取考试卡片列表接口
|
||||||
ExamCardList: '/exam/card/list',
|
ExamDetail: '/exam/detail/', // 获取考试详情接口
|
||||||
// 获取考试详情
|
QuestionDetail: '/exam/question/detail/', // 获取问题详情接口
|
||||||
ExamDetail: '/exam/detail/',
|
FinishExam: '/exam/finish/', // 提交考试接口
|
||||||
// 获取考试详情
|
ExamRecordList: '/exam/record/list', // 获取考试记录列表接口
|
||||||
QuestionDetail: '/exam/question/detail/',
|
recordDetail: '/exam/record/detail' // 获取考试记录详情接口
|
||||||
// 交卷
|
|
||||||
FinishExam: '/exam/finish/',
|
|
||||||
ExamRecordList: '/exam/record/list',
|
|
||||||
recordDetail: '/exam/record/detail/'
|
|
||||||
}
|
}
|
||||||
export default api
|
|
||||||
|
export default api;
|
Loading…
Reference in new issue