let BASE_URL = ''
let DATA_URL = ''
switch (process.env.NODE_ENV) {
case 'production':
  BASE_URL = 'http://10.89.4.164/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_GRID_TOTAL: '/dc/countDiscoveredCaseByStreet', // 网格数
  GET_GRID_SOLVING: '/dc/countSolvingCaseByStreet', // 网格处置中数
  GET_GRID_OVERDUE: 'dc/countExceedCaseByStreet', // 网格处逾期数
  GET_NOT_ALERT_TOTAL: '/dc/countClosedNotPolice', // 非警情数
  GET_NOT_ALERT_SOLVING: '/dc/countSolvingNotPoliceByStreet', // 非警情数处置中数
  GET_NOT_ALERT_OVERDUE: '/dc/countExceedNotPoliceByStreet', // 非警情数逾期数
  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', // 物业健康度
}
