mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-15 00:19:38 +00:00
14 lines
349 B
TypeScript
14 lines
349 B
TypeScript
import { isDevMode } from '/@/utils/env';
|
|
|
|
// System default cache time, in seconds
|
|
export const DEFAULT_CACHE_TIME = 60 * 60 * 24 * 7;
|
|
|
|
// aes encryption key
|
|
export const cacheCipher = {
|
|
key: '_11111000001111@',
|
|
iv: '@11111000001111_',
|
|
};
|
|
|
|
// Whether the system cache is encrypted using aes
|
|
export const enableStorageEncryption = !isDevMode();
|