api.js 5.0 KB

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