// 环境变量 const envs = { development: { DOMAIN: 'http://127.0.0.1:8085', BASE_URL: '/tools/', BASE_API: 'http://127.0.0.1:8085', }, test: { DOMAIN: 'https://show.iyque.cn', BASE_URL: '/tools/', BASE_API: 'https://show.iyque.cn/iyque', }, production: { DOMAIN: 'https://scrm.goodpoint.top', BASE_URL: '/tools/', BASE_API: 'https://scrm.goodpoint.top/iyque', }, } let mode = process.env.NODE_ENV == 'development' || !globalThis.document ? process.env.VUE_APP_ENV : Object.keys(envs).find((e) => envs[e].DOMAIN === window?.location.origin) export const env = { ...envs[mode], ENV: mode } // 系统常量配置 export const common = { SYSTEM_NAME: 'Hyreal', // 系统简称 SYSTEM_SLOGAN: 'Hyreal SCRM - 私域数智化营销解决方案', // 系统标语 COPYRIGHT: 'Copyright © 2022-2025 Hyreal All Rights Reserved.', // 版权信息 LOGO: env.BASE_URL + 'static/logo.png', // 深色logo }