api.js 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. getVenueListInfo: API_BASE + '/sgai/venue/get4ShortestVenue',
  34. // 获取场馆详情
  35. getVenueDetail: API_BASE + '/v2/home/getVenueDetailById',
  36. // 获取班级详情
  37. getClassDetail: API_BASE + '/v2/home/getClassDetailById',
  38. // 获取新增统计数据
  39. getCensusInfo: API_BASE + '/v2/sale/home/getCustomerCreateStatisticsDetailCount',
  40. // 获取新增统计列表
  41. getCensusList: API_BASE + '/v2/sale/home/getCustomerCreateStatisticsDetailList',
  42. // 报表
  43. findGroupCustomerNum: API_BASE + '/v2/sale/center/findGroupCustomerNum',
  44. // 获取班级列表
  45. getClassList: API_BASE + '/v2/sale/customer/getClassList',
  46. // 获取礼物列表
  47. getGiftList: API_BASE + '/v2/sale/customer/getGiftList',
  48. // 获取销售员列表
  49. getSaleList: API_BASE + '/v2/sale/customer/getSaleList',
  50. // 获取谈单人列表
  51. getTalkerList: API_BASE + '/v2/sale/customer/getTalkerList',
  52. // 获取支付方式列表
  53. getPayTypeList: API_BASE + '/v2/sale/customer/getPayTypeList',
  54. // 根据订单二维码获取表单信息
  55. getQrCodeInfo: API_BASE + '/v2/sale/customer/getQrCodeInfo',
  56. // 提交已报名表单
  57. submitEnrolledForm: API_BASE + '/v2/sale/customer/joinCLass',
  58. // 无效
  59. updateCustomerState: API_BASE + '/v2/sale/customer/updateCustomerState',
  60. // 提交意向客户表单
  61. submitIntentionForm: API_BASE + '/v2/sale/customer/insertCustomer',
  62. // 获取全部客户列表
  63. getCustomerList: API_BASE + '/v2/sale/center/getCustomerList',
  64. // 获取客户报名列表
  65. getOrderList: API_BASE + '/v2/sale/center/getCustomerDetailList',
  66. // 获取客户报名详情
  67. getOrderInfo: API_BASE + '/v2/sale/center/getCustomerDetail',
  68. // 获取当月销售额
  69. getSaleSortInfo: API_BASE + '/v2/sale/center/getSaleSort',
  70. // 获取业绩销售列表
  71. getSaleSortList: API_BASE + '/v2/sale/center/getSaleSortList',
  72. // 获取续费提醒列表
  73. getRenewList: API_BASE + '/v2/sale/center/getRenewRemindList',
  74. // 获取续费学员详情
  75. getStudentInfo: API_BASE + '/v2/sale/center/getRenewalStudent',
  76. // 获取续费学员沟通记录列表
  77. getRecordList: API_BASE + '/v2/sale/center/getRenewalCommunicateRecordList',
  78. // 提交续费学员沟通记录表单
  79. submitRecordForm: API_BASE + '/v2/sale/center/writeRenewalCommunicateRecord',
  80. // 获取消息通知列表
  81. getMessageList: API_BASE + '/v2/sale/center/messageInform',
  82. // 获取数据统计
  83. getDataCensus: API_BASE + '/v2/sale/center/dataStatistics',
  84. // 获取小程序二维码
  85. getShareUrl: API_BASE + '/v2/sale/center/share',
  86. // 获取服务器端图片
  87. getServerImg: API_BASE + '/download/icon/',
  88. // 上传地址
  89. uploadFile: API_BASE + '/v2/common/file/uploadOne',
  90. // 获取首页场馆列表
  91. getVenueList: API_BASE + '/v2/home/getVenueNearbyList',
  92. // 学员预约
  93. subscribeStudent: API_BASE + '/v2/class/appointment',
  94. // 意向预约
  95. customerAppointment: API_BASE + '/v2/sale/customer/customerAppointment',
  96. // 新增客户
  97. joinCLass: API_BASE + '/v2/sale/customer/joinCLass',
  98. // 客户信息
  99. customerDetail: API_BASE + '/v2/sale/customer/customerDetail',
  100. // 添加追踪记录
  101. addResourceRecord: API_BASE + '/v2/sale/customer/addResourceRecord',
  102. // 查询追踪记录
  103. findResourceRecordList: API_BASE + '/v2/sale/customer/findResourceRecordList',
  104. // 销售员列表
  105. findGroups: API_BASE + '/v2/sale/group/findGroups',
  106. // 学员列表
  107. giftStudentPage: API_BASE + '/v2/sale/center/giftStudentPage',
  108. // 获取一级礼物
  109. findVenueGiftOneList: API_BASE + '/v2/sale/center/findVenueGiftOneList',
  110. // 获取二级礼物
  111. findVenueGiftTwoList: API_BASE + '/v2/sale/center/findVenueGiftTwoList',
  112. // 赠送
  113. giveGiftStudent: API_BASE + '/v2/sale/center/giveGiftStudent',
  114. // 不送
  115. giveGiftRefuse: API_BASE + '/v2/sale/center/giveGiftRefuse'
  116. }