api.js 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. // const API_BASE = 'https://xinghuolanqiu.com/newApi'
  2. // const API_BASE = 'http://192.168.1.126:30000'
  3. const API_BASE = 'http://192.168.1.117:8089'
  4. module.exports = {
  5. // 微信授权登录
  6. wxLogin: API_BASE + '/v2/sale/login/wxLogin',
  7. // 账号密码登录
  8. loginByPassword: API_BASE + '/v2/sale/login/login',
  9. // 团队简报
  10. teamStatistics: API_BASE + '/v2/sale/center/teamStatistics',
  11. // 线索状态
  12. clueRait: API_BASE + '/v2/sale/center/clueRait',
  13. // 获取统计图数据
  14. getCensusChart: API_BASE + '/v2/sale/home/getCustomerCreateStatisticsList',
  15. // 获取附近场馆列表
  16. getNearVenueList: API_BASE + '/v2/sale/home/getVenueNearList',
  17. // 获取所有场馆列表
  18. getAllVenueList: API_BASE + '/v2/sale/home/getVenueNearMoreList',
  19. // 获取所有场馆
  20. getVenueListInfo: API_BASE + '/sgai/venue/get4ShortestVenue',
  21. // 获取场馆详情
  22. getVenueDetail: API_BASE + '/v2/home/getVenueDetailById',
  23. // 获取班级详情
  24. getClassDetail: API_BASE + '/v2/home/getClassDetailById',
  25. // 获取新增统计数据
  26. getCensusInfo: API_BASE + '/v2/sale/home/getCustomerCreateStatisticsDetailCount',
  27. // 获取新增统计列表
  28. getCensusList: API_BASE + '/v2/sale/home/getCustomerCreateStatisticsDetailList',
  29. // 报表
  30. findGroupCustomerNum: API_BASE + '/v2/sale/center/findGroupCustomerNum',
  31. // 获取班级列表
  32. getClassList: API_BASE + '/v2/sale/customer/getClassList',
  33. // 获取礼物列表
  34. getGiftList: API_BASE + '/v2/sale/customer/getGiftList',
  35. // 获取销售员列表
  36. getSaleList: API_BASE + '/v2/sale/customer/getSaleList',
  37. // 获取谈单人列表
  38. getTalkerList: API_BASE + '/v2/sale/customer/getTalkerList',
  39. // 获取支付方式列表
  40. getPayTypeList: API_BASE + '/v2/sale/customer/getPayTypeList',
  41. // 根据订单二维码获取表单信息
  42. getQrCodeInfo: API_BASE + '/v2/sale/customer/getQrCodeInfo',
  43. // 提交已报名表单
  44. submitEnrolledForm: API_BASE + '/v2/sale/customer/joinCLass',
  45. // 无效
  46. updateCustomerState: API_BASE + '/v2/sale/customer/updateCustomerState',
  47. // 提交意向客户表单
  48. submitIntentionForm: API_BASE + '/v2/sale/customer/insertCustomer',
  49. // 获取全部客户列表
  50. getCustomerList: API_BASE + '/v2/sale/center/getCustomerList',
  51. // 获取客户报名列表
  52. getOrderList: API_BASE + '/v2/sale/center/getCustomerDetailList',
  53. // 获取客户报名详情
  54. getOrderInfo: API_BASE + '/v2/sale/center/getCustomerDetail',
  55. // 获取当月销售额
  56. getSaleSortInfo: API_BASE + '/v2/sale/center/getSaleSort',
  57. // 获取业绩销售列表
  58. getSaleSortList: API_BASE + '/v2/sale/center/getSaleSortList',
  59. // 获取续费提醒列表
  60. getRenewList: API_BASE + '/v2/sale/center/getRenewRemindList',
  61. // 获取续费学员详情
  62. getStudentInfo: API_BASE + '/v2/sale/center/getRenewalStudent',
  63. // 获取续费学员沟通记录列表
  64. getRecordList: API_BASE + '/v2/sale/center/getRenewalCommunicateRecordList',
  65. // 提交续费学员沟通记录表单
  66. submitRecordForm: API_BASE + '/v2/sale/center/writeRenewalCommunicateRecord',
  67. // 获取消息通知列表
  68. getMessageList: API_BASE + '/v2/sale/center/messageInform',
  69. // 获取数据统计
  70. getDataCensus: API_BASE + '/v2/sale/center/dataStatistics',
  71. // 获取小程序二维码
  72. getShareUrl: API_BASE + '/v2/sale/center/share',
  73. // 获取服务器端图片
  74. getServerImg: API_BASE + '/download/icon/',
  75. // 上传地址
  76. uploadFile: API_BASE + '/v2/common/file/uploadOne',
  77. // 获取首页场馆列表
  78. getVenueList: API_BASE + '/v2/home/getVenueNearbyList',
  79. // 学员预约
  80. subscribeStudent: API_BASE + '/v2/class/appointment',
  81. // 意向预约
  82. customerAppointment: API_BASE + '/v2/sale/customer/customerAppointment',
  83. // 新增客户
  84. joinCLass: API_BASE + '/v2/sale/customer/joinCLass',
  85. // 客户信息
  86. customerDetail: API_BASE + '/v2/sale/customer/customerDetail',
  87. // 添加追踪记录
  88. addResourceRecord: API_BASE + '/v2/sale/customer/addResourceRecord',
  89. // 查询追踪记录
  90. findResourceRecordList: API_BASE + '/v2/sale/customer/findResourceRecordList',
  91. // 销售员列表
  92. findGroups: API_BASE + '/v2/sale/group/findGroups'
  93. }