From 972f277c5920d9d38749d675912b47b2b120320e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 25 五月 2023 10:17:41 +0800 Subject: [PATCH] 2023-05-25 --- src/index.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/index.js b/src/index.js index 090fd3e..21f3ba5 100644 --- a/src/index.js +++ b/src/index.js @@ -74,6 +74,7 @@ GLOB.nginx = config.nginx + '' === 'true' GLOB.WXAppID = config.WXAppID || '' GLOB.WXminiAppID = config.WXminiAppID || '' + GLOB.WXNotice = config.WXNotice + '' === 'true' GLOB.accessToken = {} GLOB.mkHS = false @@ -136,6 +137,7 @@ if (options.sysType === 'cloud') { // cloud涓嶅彲璁剧疆鍗曠偣鏈嶅姟鍣ㄥ湴鍧�,浜戠appkey涓虹郴缁熻缃� GLOB.appkey = options.cakey + GLOB.WXNotice = false } else if (options.sysType === 'SSO') { // sso涓嶅彲璁剧疆鍗曠偣鏈嶅姟鍣ㄥ湴鍧� GLOB.appkey = config.appkey } else if (options.sysType === 'local') { // 涓氬姟绯荤粺 -- Gitblit v1.8.0