encryptionSetting.ts 363 B

12345678910111213
  1. import { isDevMode } from '/@/utils/env';
  2. // 缓存默认过期时间
  3. export const DEFAULT_CACHE_TIME = 60 * 60 * 24 * 7;
  4. // 开启缓存加密后,加密密钥。采用aes加密
  5. export const cacheCipher = {
  6. key: '_11111000001111@',
  7. iv: '@11111000001111_',
  8. };
  9. // 是否加密缓存,默认生产环境加密
  10. export const enableStorageEncryption = false;