This commit is contained in:
houjunxiang
2025-10-09 18:19:55 +08:00
parent f2ffc65094
commit 386f1e7466
1553 changed files with 284685 additions and 32820 deletions

33
nx/config/index.js Normal file
View File

@@ -0,0 +1,33 @@
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 default {
apiPath,
apiCrypto,
clientSecret,
attachmentKey
}