api.js 5.2 KB

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