const CONFIG = { // 开发环境配置 development: { assetsPath: "/static", // 静态资源路径 // baseUrl: "http://192.168.1.86:15555/", // 后台接口请求地址 // baseUrl: "http://192.168.1.64:8090/", // 后台接口请求地址 baseUrl: "https://agent-crm.luojigou.vip/crm-api/", // 后台接口请求地址 hostUrl: "https://luojigou.vip/exhibition/", websocketUrl: "", // websocket服务端地址 weixinAppId: "", // 微信公众号appid }, // 生产环境配置 production: { assetsPath: "/static", // 静态资源路径 baseUrl: "https://agent-crm.luojigou.vip/crm-api/", // 后台接口请求地址 hostUrl: "https://luojigou.vip/exhibition/", websocketUrl: "", // websocket服务端地址 weixinAppId: "", // 微信公众号appid }, }; export default CONFIG[process.env.NODE_ENV];