/* process.env.NODE_ENV设置生产环境模式 */ // #ifndef MP const baseURL = process.env.NODE_ENV === "production" ? "https://oa.usky.cn:81" : "http://192.168.10.11:30000"; const webSocketUrl = process.env.NODE_ENV === "production" ? "wss://oa.usky.cn/websocket" : "ws://120.26.164.249:1115/api/message/websocket"; const report = process.env.NODE_ENV === 'production' ? 'https://oa.usky.cn:81/Report' : 'http://localhost:8200'; const pcURL = process.env.NODE_ENV === 'production' ? 'https://oa.usky.cn' : 'http://localhost:3100'; // #endif // #ifdef MP const baseURL = "https://oa.usky.cn:81"; const webSocketUrl = "wss://120.26.164.249:1115/api/message/websocket"; const report = 'http://localhost:8200'; const pcURL = 'http://localhost:3000'; // #endif const define = { copyright: "Copyright @ 2025 引迈信息技术有限公司版权所有", sysVersion: "V6.0", baseURL, // 接口前缀 report, pcURL, webSocketUrl, comUploadUrl: baseURL + '/api/file/Uploader/', timeout: 1000000, aMapWebKey: '', cipherKey: 'EY8WePvjM5GGwQzn', // 加密key }; export default define;