api.js 4.1 KB

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