| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- export default {
- wx_login: 'api/user/wechatlogin',// 微信登录
- mobileCode: 'api/sms/send', // 获取手机验证码
- register: 'api/yexam/user/register', // 注册
- login: 'api/user/login', // 登录
- logout: 'api/user/logout', // 退出登录
- resetPwd: 'api/user/resetpwd', // 修改登录密码
- swiper: 'api/yexam/banner/index', // 轮播图
- // page
- // limit
- search: 'api/shouye/tikusousuolist', // 搜索题库
- tikuList: 'api/shouye/tikulist', // 题库列表
- nologintikuunitlist: 'api/tiku/nologintikulist', // 题库列表
- minegetuserinfo: 'api/user/getuserinfo', // 获取会员信息
- checkToken: 'api/Token/check', // 检测Token是否过期
- refreshToken: 'api/token/refresh', // 刷新token
- subjectList:'api/yexam/subject/all', //科目列表
- unitList: 'api/yexam/subject/unit', // 科目下章节列表
- // subject_id
- // unit_id 顶级传0
- // page
- // limit
- unitPracticeRecord: 'api/yexam/subject/question_info', // 科目顶部练习记录
- // subject_id
- zhentiList: 'api/yexam/library/index', // 历年真题
- // page
- // limit
- //subject_id
- /****************** 章节练习 **********************/
- unitCard: 'api/yexam/unit/card', // 章节练习答题卡
- // unit_id
- unit_postion: 'api/yexam/unit/position',//上次答到第几题
- // unit_id
- // timu_details: 'api/yexam/question/info',//章节练习和历年真题的题目详情都用这个接口获取 以前的
- timu_details: 'api/yexam/unit/question',//章节练习的题目详情 用这个接口获取
- // unit_id
- // num
- // unitansqueedit: 'api/yexam/unit/ansqueedit', // 章节练习答题操作 章节练习
- unitansqueedit: 'api/yexam/unit/ans_que', // 章节练习答题操作 章节练习
- // id
- // answer
- unitshoucangeedit: 'api/yexam/unit/fav', // 收藏题目 章节联系
- // id
- emptyTestLog: 'api/yexam/unit/emptytestlog', //清空答题记录
- // unit_id
- wrongQuestion: 'api/yexam/unit/error_log', //章节练习错题
- // subject_id
- // page
- // limit
- collect: 'api/yexam/unit/fav_list',// 章节练习收藏列表
- // subject_id
- // page
- // limit
- unit_errorCard: 'api/yexam/unit/error_card', // 章节练习错题答题卡
- // unit_id
- unit_remove_error: 'api/yexam/unit/remove_error', // 章节练习 移除错题
- // id
- unit_fav_card: 'api/yexam/unit/fav_card', // 章节练习收藏答题卡
- // unit_id
- /****************** 历年真题 **********************/
- emptyLibraryLog: 'api/yexam/library/emptytestlog', //清空答题记录
- // library_id
- zhenti_wrongQuestion: 'api/yexam/library/error_log', //历年真题错题
- // subject_id
- // page
- // limit
- zhenti_collect: 'api/yexam/library/fav_list',// 历年真题收藏列表
- // subject_id
- // page
- // limit
- zhentiCard: 'api/yexam/library/card', // 历年真题答题卡
- //library_id
- zhenti_postion: 'api/yexam/library/position',//历年真题上次答到第几题
- // library_id
- zhentiansqueedit: 'api/yexam/library/ansqueedit', // 历年真题答题操作
- // id
- // answer
- zhentishoucangeedit: 'api/yexam/library/fav', // 收藏题目 历年真题
- // id
- library_errorCard: 'api/yexam/library/error_card', // 历年真题错题答题卡
- // library_id
- library_remove_error: 'api/yexam/library/remove_error', // 移除错题 历年真题
- // id
- library_fav_card: 'api/yexam/library/fav_card', // 章节练习收藏答题卡
- // library_id
- /****************** 考试 **********************/
- record: 'api/yexam/exam/record',// 考试记录
- // subject_id
- // page
- // limit
- mockExaminationList: 'api/yexam/exam/virtual', // 模拟考试列表
- // library_id
- // page
- // limit
- examinationList: 'api/yexam/exam/index', // 正式考试列表
- // library_id
- // page
- // limit
- exam_begin: 'api/yexam/exam/begin',//开始考试
- // exam_id
- exam_end: 'api/yexam/exam/up',//考试交卷
- // exam_id
- exam_answer: 'api/yexam/exam/answer',//考试答题
- // exam_id
- // question_id
- // answer
- examCard: 'api/yexam/exam/card',//考试答题卡
- // exam_id
- examPosition: 'api/yexam/exam/position',//考试答题卡
- // exam_id
- exam_timu_details: 'api/yexam/exam/question',//考试获取题目详情(如果本次考试答过本题,则包含本题答案)
- // exam_id
- // question_id
- exam_error_list: 'api/yexam/exam/error_log',//考试错题列表
- // subject_id
- // type 1考试 2模拟考试
- // page
- // limit
- exam_error_card: 'api/yexam/exam/error_card',//考试错题答题卡
- // exam_user_id 模拟考试存在多次参与的情况
- userInfo: 'api/yexam/user/getuserinfo',//用户信息
- editUserInfo: 'api/yexam/user/profile', // 修改用户信息
- // nickname
- // avatar
- resetpwd: 'api/yexam/user/resetpwd', // 修改密码
- //* 2020年12月4日 修改为微信h5授权登录和小程序授权登录 */
- /* 1.小程序授权登录 */
- 'authMini':'api/yexam/user/oauthMiniUser',
- 'authUser':'api/yexam/user/authUser',
- 'getMinAppid':'api/yexam/user/mini_appid',//获取小程序appid
- 'getAppid':'api/yexam/user/appid',//获取微信公众号appid
- 'getConfig': 'api/yexam/user/config',
-
- 'jiucuo':'api/yexam/tag/add',//提交纠错
- // question_id
- // type
- 'getNote':'api/yexam/note/index',//获取随手记内容
- // question_id
- 'addNote':'api/yexam/note/add',//添加随手记内容
- // question_id
- // content
- 'userProfile':'api/user/profile',//用户信息
- // nickname
- // avatar
- 'noticeList':'api/yexam/notice/index',// 通知公告列表
- // subject_id
- // page
- // limit
- 'articleInfo':'api/yexam/notice/info',
- // id
- // 通知公告详情
- "questionsSearchResult":'api/yexam/question/search',//搜索题目列表\
- // type 1单选 2多选 3判断 4填空 5简答题
- // keyword
- // page
- // limit
- "questionSearchInfo":'api/yexam/question/info',//题目详情
- // id
- 'phList':'api/yexam/exam/ph',//排行榜
- 'getAd':'api/score/ad/index',//广告
- 'checkvip':'api/yexam/user/check_vip',//是否vip
- //subject_id
- 'exchangesubject':'api/yexam/user/exchange_subject',//激活码兑换科目
- //code
- //subject_id
- 'myexchange':'api/yexam/user/my_exchange',//我兑换的科目列表
- //page
- //limit
- 'navList':'api/yexam.nav/index',//首页导航图标接口
- //page
- //limit
- 'settingindex':'api/yexam/setting/index',//关于我们和联系客服接口
- // 'decryptData':'api/yexam/user/decryptData',//小程序解码
- 'unitVip':'api/yexam.unit/info',//id 章节详情 是否需要vip权限
- 'examVip':'api/yexam.exam/info',// id 考试详情 是否需要vip权限
- 'zhentiVip':'api/yexam/library/info',//id 历年真题详情
- //购买激活码
- 'buyJhm': 'api/yexam/Subject/create_order',
- 'yqhb': 'api/yexam/user/recommend_poster',
- 'sh': 'api/yexam/notice/auth'
- };
|