api.js 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. const API_BASE = 'https://xinghuolanqiu.com/newApi'
  2. module.exports = {
  3. // 微信授权登录
  4. wxLogin: API_BASE + '/v2/sale/login/wxLogin',
  5. // 账号密码登录
  6. loginByPassword: API_BASE + '/v2/sale/login/login',
  7. // 获取统计图数据
  8. getCensusChart: API_BASE + '/v2/sale/home/getCustomerCreateStatisticsList',
  9. // 获取附近场馆列表
  10. getNearVenueList: API_BASE + '/v2/sale/home/getVenueNearList',
  11. // 获取所有场馆列表
  12. getAllVenueList: API_BASE + '/v2/sale/home/getVenueNearMoreList',
  13. // 获取场馆详情
  14. getVenueDetail: API_BASE + '/v2/home/getVenueDetailById',
  15. // 获取班级详情
  16. getClassDetail: API_BASE + '/v2/home/getClassDetailById',
  17. // 获取新增统计数据
  18. getCensusInfo: API_BASE + '/v2/sale/home/getCustomerCreateStatisticsDetailCount',
  19. // 获取新增统计列表
  20. getCensusList: API_BASE + '/v2/sale/home/getCustomerCreateStatisticsDetailList',
  21. // 获取班级列表
  22. getClassList: API_BASE + '/v2/sale/customer/getClassList',
  23. // 获取礼物列表
  24. getGiftList: API_BASE + '/v2/sale/customer/getGiftList',
  25. // 获取销售员列表
  26. getSaleList: API_BASE + '/v2/sale/customer/getSaleList',
  27. // 获取谈单人列表
  28. getTalkerList: API_BASE + '/v2/sale/customer/getTalkerList',
  29. // 获取支付方式列表
  30. getPayTypeList: API_BASE + '/v2/sale/customer/getPayTypeList',
  31. // 根据订单二维码获取表单信息
  32. getQrCodeInfo: API_BASE + '/v2/sale/customer/getQrCodeInfo',
  33. // 提交已报名表单
  34. submitEnrolledForm: API_BASE + '/v2/sale/customer/joinCLass',
  35. // 提交意向客户表单
  36. submitIntentionForm: API_BASE + '/v2/sale/customer/insertCustomer',
  37. // 获取全部客户列表
  38. getCustomerList: API_BASE + '/v2/sale/center/getCustomerList',
  39. // 获取客户报名列表
  40. getOrderList: API_BASE + '/v2/sale/center/getCustomerDetailList',
  41. // 获取客户报名详情
  42. getOrderInfo: API_BASE + '/v2/sale/center/getCustomerDetail',
  43. // 获取当月销售额
  44. getSaleSortInfo: API_BASE + '/v2/sale/center/getSaleSort',
  45. // 获取业绩销售列表
  46. getSaleSortList: API_BASE + '/v2/sale/center/getSaleSortList',
  47. // 获取续费提醒列表
  48. getRenewList: API_BASE + '/v2/sale/center/getRenewRemindList',
  49. // 获取续费学员详情
  50. getStudentInfo: API_BASE + '/v2/sale/center/getRenewalStudent',
  51. // 获取续费学员沟通记录列表
  52. getRecordList: API_BASE + '/v2/sale/center/getRenewalCommunicateRecordList',
  53. // 提交续费学员沟通记录表单
  54. submitRecordForm: API_BASE + '/v2/sale/center/writeRenewalCommunicateRecord',
  55. // 获取消息通知列表
  56. getMessageList: API_BASE + '/v2/sale/center/messageInform',
  57. // 获取数据统计
  58. getDataCensus: API_BASE + '/v2/sale/center/dataStatistics',
  59. // 获取小程序二维码
  60. getShareUrl: API_BASE + '/v2/sale/center/share',
  61. // 获取服务器端图片
  62. getServerImg: API_BASE + '/download/icon/',
  63. // 上传地址
  64. uploadFile: API_BASE + '/v2/common/file/uploadOne',
  65. }