api.js 4.2 KB

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