Commit 6a6353a7 by 张立顺

Merge branch 'master' into SAAS+V4.46.2-1119

1 parent e938f7b5
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
*/ */
// 配置预发布的小程序aapId // 配置预发布的小程序aapId
export const preReleaseAppId = "wxdb25dd43c3e1fc03"; export const preReleaseAppId = "wx96c8f2a3e76907cb";
// 小程序id // 小程序id
export const appId = "wx570d9331f9ace0bd"; export const appId = "wx570d9331f9ace0bd";
...@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd"; ...@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd";
* 4预发布 * 4预发布
* 5cdptest * 5cdptest
*/ */
let index = 2; let index = 1;
const accountInfo = wx.getAccountInfoSync(); const accountInfo = wx.getAccountInfoSync();
const systemInfo = wx.getSystemInfoSync(); const systemInfo = wx.getSystemInfoSync();
const envName = accountInfo.miniProgram.envVersion; const envName = accountInfo.miniProgram.envVersion;
...@@ -30,7 +30,7 @@ const release = false; ...@@ -30,7 +30,7 @@ const release = false;
// develop:开发版 trial:体验版 release:正式版 // develop:开发版 trial:体验版 release:正式版
if (systemInfo.platform != "devtools") { if (systemInfo.platform != "devtools") {
if (accountInfo.miniProgram.appId == preReleaseAppId) { if (accountInfo.miniProgram.appId == preReleaseAppId) {
index = 5; index = 4;
} else { } else {
switch (envName) { switch (envName) {
case "develop": case "develop":
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!