From bddcada983df2d969ab154016b58d2f0522d1e77 Mon Sep 17 00:00:00 2001 From: wangxiang <1827945911@qq.com> Date: Sun, 19 Mar 2023 13:40:23 +0800 Subject: [PATCH] build(gulp): build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 测试打包后功能 --- build/script/buildConf.ts | 2 +- src/settings/encryptionSetting.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/script/buildConf.ts b/build/script/buildConf.ts index c970da8..d27804f 100644 --- a/build/script/buildConf.ts +++ b/build/script/buildConf.ts @@ -32,7 +32,7 @@ function createConfig({ // 将配置信息追加到_app.config.js文件中 writeFileSync(getRootPath(`${OUTPUT_DIR}/${configFileName}`), configStr); - console.log(colors.cyan(`✨ [${pkg.name}]`) + ` - configuration file is build successfully:`); + console.log(colors.cyan(`✨ [${pkg.name}]`) + ' - configuration file is build successfully:'); console.log(colors.gray(OUTPUT_DIR + '/' + colors.green(configFileName)) + '\n'); } catch (error) { console.log(colors.red('configuration file configuration file failed to package:\n' + error)); diff --git a/src/settings/encryptionSetting.ts b/src/settings/encryptionSetting.ts index da66a21..2d5b0d3 100644 --- a/src/settings/encryptionSetting.ts +++ b/src/settings/encryptionSetting.ts @@ -12,8 +12,8 @@ export const DEFAULT_CACHE_TIME = 60 * 60 * 24 * 7; /** aes加密密钥 */ export const cacheCipher = { - key: '_1024102410241024@', - iv: '@1024102410241024_', + key: '_11111000001111@', + iv: '@11111000001111_', }; /** 系统缓存是否使用aes加密 */