// const API_BASE = 'https://xinghuolanqiu.com/newApi' // const API_BASE = 'http://192.168.1.126:30000' //const API_BASE = 'http://192.168.1.117:8089' //const API_BASE = 'http://192.168.1.145/newApi' //const API_BASE = 'http://192.168.1.109/newApi' //const API_BASE = 'http://192.168.1.117:8089' // const API_BASE = 'http://192.168.1.145/newApi' //const API_BASE = 'http://192.168.1.117:8089' let API_BASE = 'https://starfire.jihengcc.cn/newApi' if(Date.parse(new Date())>1660190400000){ API_BASE = 'https://xinghuolanqiu.com/newApi' } // const API_BASE = 'http://192.168.1.145/newApi' module.exports = { // 微信授权登录 wxLogin: API_BASE + '/v2/sale/login/wxLogin', // 账号密码登录 loginByPassword: API_BASE + '/v2/sale/login/login', // 团队简报 teamStatistics: API_BASE + '/v2/sale/center/teamStatistics', // 线索状态 clueRait: API_BASE + '/v2/sale/center/clueRait', // 获取统计图数据 getCensusChart: API_BASE + '/v2/sale/home/getCustomerCreateStatisticsList', // 久未跟进 estrangedList: API_BASE + '/v2/sale/center/estrangedList', // 生日提醒 birthdayRemind: API_BASE + '/v2/sale/center/birthdayRemind', // 预约记录 oneWeekAppointment: API_BASE + '/v2/sale/center/oneWeekAppointment', // 获取附近场馆列表 getNearVenueList: API_BASE + '/v2/sale/home/getVenueNearList', // 获取所有场馆列表 getAllVenueList: API_BASE + '/v2/sale/home/getVenueNearMoreList', // 获取场馆列表 getSaleVenueList: API_BASE + '/v2/sale/center/getSaleVenueList', // 获取所有场馆 getVenueListInfo: API_BASE + '/sgai/venue/get4ShortestVenue', // 获取场馆详情 getVenueDetail: API_BASE + '/v2/home/getVenueDetailById', // 获取班级详情 getClassDetail: API_BASE + '/v2/home/getClassDetailById', // 获取新增统计数据 getCensusInfo: API_BASE + '/v2/sale/home/getCustomerCreateStatisticsDetailCount', // 获取新增统计列表 getCensusList: API_BASE + '/v2/sale/home/getCustomerCreateStatisticsDetailList', // 报表 findGroupCustomerNum: API_BASE + '/v2/sale/center/findGroupCustomerNum', // 获取班级列表 getClassList: API_BASE + '/v2/sale/customer/getClassList', // 获取礼物列表 getGiftList: API_BASE + '/v2/sale/customer/getGiftList', // 获取销售员列表 getSaleList: API_BASE + '/v2/sale/customer/getSaleList', // 获取谈单人列表 getTalkerList: API_BASE + '/v2/sale/customer/getTalkerList', // 获取支付方式列表 getPayTypeList: API_BASE + '/v2/sale/customer/getPayTypeList', // 根据订单二维码获取表单信息 getQrCodeInfo: API_BASE + '/v2/sale/customer/getQrCodeInfo', // 提交已报名表单 submitEnrolledForm: API_BASE + '/v2/sale/customer/joinCLass', // 无效 updateCustomerState: API_BASE + '/v2/sale/customer/updateCustomerState', // 提交意向客户表单 submitIntentionForm: API_BASE + '/v2/sale/customer/insertCustomer', // 获取全部客户列表 getCustomerList: API_BASE + '/v2/sale/center/getCustomerList', // 获取客户合同 getOrderContract: API_BASE + '/v2/sale/center/getOrderContract', // 获取客户报名列表 getOrderList: API_BASE + '/v2/sale/center/getCustomerDetailList', // 获取客户报名详情 getOrderInfo: API_BASE + '/v2/sale/center/getCustomerDetail', // 获取当月销售额 getSaleSortInfo: API_BASE + '/v2/sale/center/getSaleSort', // 获取业绩销售列表 getSaleSortList: API_BASE + '/v2/sale/center/getSaleSortList', // 获取续费提醒列表 getRenewList: API_BASE + '/v2/sale/center/getRenewRemindList', // 获取续费学员详情 getStudentInfo: API_BASE + '/v2/sale/center/getRenewalStudent', // 获取续费学员沟通记录列表 getRecordList: API_BASE + '/v2/sale/center/getRenewalCommunicateRecordList', // 提交续费学员沟通记录表单 submitRecordForm: API_BASE + '/v2/sale/center/writeRenewalCommunicateRecord', // 获取消息通知列表 getMessageList: API_BASE + '/v2/sale/center/messageInform', // 获取数据统计 getDataCensus: API_BASE + '/v2/sale/center/dataStatistics', // 获取小程序二维码 getShareUrl: API_BASE + '/v2/sale/center/share', // 获取服务器端图片 getServerImg: API_BASE + '/download/icon/', // 上传地址 uploadFile: API_BASE + '/v2/common/file/uploadOne', // 获取首页场馆列表 getVenueList: API_BASE + '/v2/home/getVenueNearbyList', // 学员预约 subscribeStudent: API_BASE + '/v2/class/appointment', // 意向预约 customerAppointment: API_BASE + '/v2/sale/customer/customerAppointment', // 新增客户 joinCLass: API_BASE + '/v2/sale/customer/joinCLass', // 客户信息 customerDetail: API_BASE + '/v2/sale/customer/customerDetail', // 添加追踪记录 addResourceRecord: API_BASE + '/v2/sale/customer/addResourceRecord', // 查询追踪记录 findResourceRecordList: API_BASE + '/v2/sale/customer/findResourceRecordList', // 销售员列表 findGroups: API_BASE + '/v2/sale/group/findGroups', // 学员列表 giftStudentPage: API_BASE + '/v2/sale/center/giftStudentPage', // 获取一级礼物 findVenueGiftOneList: API_BASE + '/v2/sale/center/giftOneTypeList', //findVenueGiftOneList: API_BASE + '/v2/sale/center/findVenueGiftOneList', // 获取二级礼物 findVenueGiftTwoList: API_BASE + '/v2/sale/center/giftTwoTypeList', //findVenueGiftTwoList: API_BASE + '/v2/sale/center/findVenueGiftTwoList', // 赠送 giveGiftStudent: API_BASE + '/v2/sale/center/giveGiftStudent', // 不送 giveGiftRefuse: API_BASE + '/v2/sale/center/giveGiftRefuse', // 修改头像 customerHeadSet: API_BASE + '/v2/sale/customer/customerHeadSet', // 获取支付方式 getPayTypeList: API_BASE + '/v2/sale/customer/getPayTypeList', }