const newServer = VE_ENV.SERVER
const pyServer = VE_ENV.PYSERVER
const oldServer = 'https://birdseye-api.sysuimars.com/'

export default {
  base_url: oldServer + 'site/',
  base_dev_site_url: newServer + 'site/',
  base_mini_url: oldServer + 'mini/',
  base_dev_url: newServer + 'mini/',
  base_py_url: pyServer,
  image_url: oldServer + 'images/',
  mini_key: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9',
  base_img_url: 'https://birdseye-img.sysuimars.com/',
  base_img_url2: 'https://birdseye-img-ali-cdn.sysuimars.com/',
  base_img_url3: 'https://birdseye-img.sysuimars.com/',
  base_img_url4: 'https://xyz2.sysuimars.cn/',
  base_video_url: 'https://minio.sysuimars.com/sysuimars/',
  resize: '?x-oss-process=image/resize,w_1000',
  getOptBody: (opt) => JSON.parse(opt.body),
  igSuccessUrl: [
    'get',
    'page',
    'index',
    'sign',
    'List',
    'info',
    'Info',
    'Data',
    'list',
    'find',
    'insert',
    'Insert',
    'image',
    'Image',
    'plugin_weather_report',
    'plugin_weather_warning_record',
    'poi',
    'mini_credential',
    'garden',
    'updateStatus',
    'mini_pop_control',
    'mini_session_store',
    'check',
  ],
}
