let BASE_URL = ''
let DATA_URL = ''
switch (process.env.NODE_ENV) {
case 'production':
  BASE_URL = 'http://10.89.4.164:18080/api'
  // BASE_URL = 'http://yangpu.hm.omniview.pro/api'
  DATA_URL = 'http://10.89.1.208:10005'
  break
default:
  // BASE_URL = 'http://yapi.omniview.pro/mock/350/api'
  BASE_URL = 'http://yangpu.hm.omniview.pro/api'
  DATA_URL = 'http://10.89.1.208:10005'
}
export default {
  BASE_URL,
  DATA_URL,
  GET_DISCOVER_TREND: '/service-special-ddd/public/alarm/unremoved/statistics', // 智能发现趋势图
  GET_REPAIR_RATE: '/service-documents-ddd/public/unsolved/repair/type/count', // 投诉报修比例图
  GET_RESOURCE_SUM: '/service-basicdatasync-ddd/public/resource/count', // 房屋物业统计数字
  GET_CHECK_SUM: '/service-documents-ddd/public/checkorder/count', // 主动巡检统计数字
  GET_CHECK_LIST: '/service-documents-ddd/public/v1/need/rectification/check/order/list', // 巡检列表
  GET_DISCOVER_INFO: '/service-special-ddd/public/discoverInfo', // 智能发现数目
  GET_TS_BX: '/service-documents-ddd/public/repair/complaint', // 投诉报修数目
  GET_HANDLE_LIST: '/service-special-ddd/public/alarm/index', // 联勤联动列表
  GET_GRID1: '/dc/countDiscoveredCaseByStreet', // 网格-发现
  GET_GRID2: '/dc/countRegisterCaseByStreet', // 网格-立案
  GET_GRID3: 'dc/countDispatchCaseByStreet', // 网格-派遣
  GET_GRID4: '/dc/countSolvingCaseByStreet', // 网格-处置
  GET_GRID5: '/dc/countCheckingCaseByStreet', // 网格-核实
  GET_GRID6: '/dc/countClosedCaseByStreet', // 网格-结案
  GET_NOT_ALERT1: '/dc/countDiscoveredNotPoliceByStreet', // 非警情-发现
  GET_NOT_ALERT2: '/dc/countRegisterNotPoliceByStreet', // 非警情-立案
  GET_NOT_ALERT3: '/dc/countDispatchNotPoliceByStreet', // 非警情-派遣
  GET_NOT_ALERT4: '/dc/countSolvingNotPoliceByStreet', // 非警情-处置
  GET_NOT_ALERT5: '/dc/countCheckingNotPoliceByStreet', // 非警情-核实
  GET_NOT_ALERT6: '/dc/countClosedNotPoliceByStreet', // 非警情-结案
  GET_POPULATION_INFO: '/dc/statisticsbureauArea', // 土地人口统计数字
  GET_COMPRESS_COUNT: '/dc/countCompressStationsByStreet', // 街道小型压缩站数目
  GET_GARBAGE_COUNT: '/dc/countPointsByStreet', // 街道垃圾收集点数目
  GET_TOILET_COUNT: '/dc/countToiletsByStreet', // 街道环卫公厕数目
  GET_VIDEO_URL: 'http://10.89.1.208:7000/hawkeye/api/v1/camera/', // 后面接id获取视频地址
  GET_HEALTH_INFO: '/service-documents-ddd/public/property/health/degree', // 物业健康度
}
