let BASE_URL = ''
let IMG_URL = 'http://www.962121.net/hmfmstest/filecenter/files' // 测试环境
// let IMG_URL = 'http://962121.fgj.sh.gov.cn/wyweb/filecenter/files' // 云上生产环境
switch (process.env.NODE_ENV) {
case 'production':
  BASE_URL = '/hmfmstest/shanghaiwuye/propertyinspector/api/v1'
  break
default:
  // BASE_URL = 'https://yapi.omniview.pro/mock/54/propertyinspector/api/v1'
  BASE_URL = 'http://www.962121.net/hmfmstest/shanghaiwuye/propertyinspector/api/v1'
};
export default {
  BASE_URL,
  IMG_URL,
  MAP_URL: 'http://168.168.112.76:8181/smimap/index.html', // 7楼
  MAP_ICON_BASE: 'http://168.168.112.76:8181/smimap/images/', // 7楼

  // MAP_URL: 'http://192.168.104.33:8181/smimap192/index.html', // 2楼
  // MAP_ICON_BASE: 'http://192.168.104.33:8181/smimap192/images/', // 2楼

  // MAP_URL: 'http://www.962121.net/gis_system/smimap/index.html#/', // 公网
  // MAP_ICON_BASE: 'http://www.962121.net/hmfmstest/shanghaiwuye/web/dataV/static/', // 公网

  POST_THEME_LIST: '/sharingplatform/themeListForOneDay',
  POST_COMMUNITY_LIST: '/sharingplatform/sectListForOneDay',
  POST_COMMUNITY_DETAIL: '/sharingplatform/detailForOneDay',
  POST_PERSON_LIST: '/sharingplatform/getInspectors',
  POST_PERSON_DETAIL: '/sharingplatform/inspectorInfo',
}
