import { get } from 'lodash' // 开发环境配置 export let version // 接口前缀 export const apiPath = import.meta.env.NX_API_PATH // if (process.env.NODE_ENV === 'development') { // console.log(import.meta.env) // baseUrl = import.meta.env.NX_DEV_BASE_URL // } else { // } version = import.meta.env.NX_VERSION // if (typeof baseUrl === 'undefined') { // console.error('请检查.env配置文件是否存在') // } else { // } export const apiCrypto = { type: 'sm4', //aes,des,sm4 aesKey: 'okK2ScfBoB0PzjTLVIlzp9z0R0CuPndE', desKey: 'wMpDsJjgCL4sXMbY', sm4Key: 'pMjhravzPN0TKm0j' } // 客户端密钥 export const clientSecret = ' 2E1TFEkR8YaOcLhp' // 附件前缀 export const attachmentKey = 'lims_attachment' // 公司部门重试请求头 export const COMPANY_DEPT_RETRY_HEADER = '__companyDeptRetried' export const VISIT_COMPANY_STORAGE_KEY = 'visit-company-info' export const VISIT_DEPT_STORAGE_KEY = 'visit-dept-info' export default { apiPath, apiCrypto, clientSecret, attachmentKey }