风险测评小程序前端代码仓库
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.

43 lines
793 B

  1. // 测评相关接口
  2. const api = {
  3. // 测评-查询答题列表
  4. queryCategoryList: {
  5. url: '/exam/queryCategoryList',
  6. method: 'GET',
  7. },
  8. // 测评-查询答题列表
  9. queryQuestionList: {
  10. url: '/exam/queryQuestionList',
  11. method: 'GET',
  12. },
  13. // 测评-提交答案
  14. updateAnswer: {
  15. url: '/exam/updateAnswer',
  16. method: 'GET',
  17. },
  18. // 测评-继续答题
  19. queryExamById: {
  20. url: '/exam/queryExamById',
  21. method: 'GET',
  22. },
  23. // 支付-创建订单
  24. createOrder: {
  25. url: '/exam/createOrder',
  26. method: 'POST',
  27. auth: true,
  28. limit : 500,
  29. showLoading : true,
  30. },
  31. // 支付-查询兑换码
  32. queryCodeById: {
  33. url: '/exam/queryCodeById',
  34. method: 'GET',
  35. },
  36. // 我的-我的答题
  37. queryExamLogList: {
  38. url: '/exam/queryExamLogList',
  39. method: 'GET',
  40. },
  41. }
  42. export default api