api.js 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. const API_BASE = 'https://xinghuolanqiu.com/newApi'
  2. module.exports = {
  3. // 微信授权登录
  4. wxLogin: API_BASE + '/v2/coach/login/wxLogin',
  5. // 账号密码登录
  6. loginByPassword: API_BASE + '/v2/coach/login/login',
  7. // 提交补课表单
  8. submitExtraLessonsForm: API_BASE + '/v2/sale/class/extraLessonsSubmit',
  9. // 获取补课学员列表
  10. getExtraLessonsStudentList: API_BASE + '/v2/sale/class/extraLessonsStudentList',
  11. // 获取我的班级列表
  12. getClassList: API_BASE + '/v2/sale/class/getClassList',
  13. // 获取场馆列表列表
  14. getVenueList: API_BASE + '/v2/sale/class/getVenueList',
  15. // 获取我的排班列表
  16. getTimetableList: API_BASE + '/v2/sale/class/getClassSort',
  17. // 提交新建班级表单
  18. submitClassForm: API_BASE + '/v2/sale/class/create',
  19. // 获取班级详情
  20. getClassDetail: API_BASE + '/v2/sale/class/getDetail',
  21. // 获取教练近况
  22. getClassDetailShowList: API_BASE + '/v2/sale/class/getClassDetailShowList',
  23. // 教练近况发布
  24. insertClassShow: API_BASE + '/v2/sale/class/insertClassShow',
  25. // 教练近况删除
  26. deleteClassShow: API_BASE + '/v2/sale/class/deleteClassShow',
  27. // 获取学员详情
  28. getStudentDetail: API_BASE + '/v2/sale/class/getStudentDetail',
  29. // 提交历程表单
  30. submitCourseForm: API_BASE + '/v2/sale/class/addGrow',
  31. // 获取本课程学员列表
  32. getSignStudentList: API_BASE + '/v2/sale/class/getSignStudentList',
  33. // 获取非本课程学员列表
  34. getOtherSignStudentList: API_BASE + '/v2/sale/class/getOtherSignStudentList',
  35. // 提交签到表单
  36. submitSignForm: API_BASE + '/v2/sale/class/signSubmit',
  37. // 获取消息通知列表
  38. getMessageList: API_BASE + '/v2/coach/message/getMessageList',
  39. // 获取我的评价列表
  40. getEvaluateList: API_BASE + '/v2/coach/center/getRatingList',
  41. // 获取我的评价详情
  42. getEvaluateInfo: API_BASE + '/v2/coach/center/getRatingDetail',
  43. // 获取我的补课记录列表
  44. getExtraLessonsList: API_BASE + '/v2/coach/center/getExtraLessonsList',
  45. // 获取我的请假记录列表
  46. getLeaveLessonsList: API_BASE + '/v2/coach/center/getLeaveLessonsList',
  47. // 获取我的续费提醒列表
  48. getRenewList: API_BASE + '/v2/coach/center/getSignReminderList',
  49. // 获取我的签到提醒列表
  50. getSignList: API_BASE + '/v2/coach/center/getRenewalReminderList',
  51. // 获取我的签到学员详情
  52. getSignStudentInfo: API_BASE + '/v2/coach/center/getSignStudentList',
  53. // 获取续费学员沟通记录列表
  54. getRenewCommunicateList: API_BASE + '/v2/coach/center/getRenewalCommunicateRecordList',
  55. // 获取签到学员沟通记录列表
  56. getSignCommunicateList: API_BASE + '/v2/coach/center/getSignCommunicateRecordList',
  57. // 提交续费学员沟通记录表单
  58. submitRenewCommunicateForm: API_BASE + '/v2/coach/center/writeRenewalCommunicateRecord',
  59. // 提交签到学员沟通记录表单
  60. submitSignCommunicateForm: API_BASE + '/v2/coach/center/writeSignCommunicateRecord',
  61. // 获取续费率
  62. getRenewPercent: API_BASE + '/v2/coach/center/getRenewPercent',
  63. // 获取续费率排名列表
  64. getRenewRankingList: API_BASE + '/v2/coach/center/getRenewRankingList',
  65. // 获取签到率
  66. getSignPercent: API_BASE + '/v2/coach/center/getSignPercent',
  67. // 获取签到率排名列表
  68. getSignRankingList: API_BASE + '/v2/coach/center/getSignRankingList',
  69. // 获取服务器端图片
  70. getServerImg: API_BASE + '/download/icon/',
  71. // 上传地址
  72. uploadFile: API_BASE + '/v2/common/file/uploadOne',
  73. }