yangfeng
2023-07-05 5cc1ac83a9cc0aa10acffb54a1c4d62b73b595d5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
let isProduction = process.env.NODE_ENV === "production"
let configObj = window.getServerJson
 
// 生产环境请求地址
export const baseUrl = configObj.managePath
 
// 是否是生产环境,打包的时候值会是true, 开发的时候值是false
export const IS_PRODUCTION = isProduction
 
// @/common/until/wsCache 加密使用的盐
export const LOCAL_ENCRYPTED_KEY = configObj.localEncryptedKey
 
// 接口上下文
export const manageContextPath = configObj.manageContextPath