第一次提交
This commit is contained in:
13
jeecgboot-vue3/src/settings/encryptionSetting.ts
Normal file
13
jeecgboot-vue3/src/settings/encryptionSetting.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { isDevMode } from '/@/utils/env';
|
||||
|
||||
// 缓存默认过期时间
|
||||
export const DEFAULT_CACHE_TIME = 60 * 60 * 24 * 7;
|
||||
|
||||
// 开启缓存加密后,加密密钥。采用aes加密
|
||||
export const cacheCipher = {
|
||||
key: '_11111000001111@',
|
||||
iv: '@11111000001111_',
|
||||
};
|
||||
|
||||
// 是否加密缓存,默认生产环境加密
|
||||
export const enableStorageEncryption = false;
|
||||
Reference in New Issue
Block a user