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