From 324baab1d2c4eb03bb8c60af69213d1665fc4d63 Mon Sep 17 00:00:00 2001 From: lcc <805383944@qq.com> Date: Wed, 30 Jul 2025 15:07:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=8E=AF=E5=A2=83=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commons/js/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commons/js/config.js b/commons/js/config.js index 05718cf..9eb2ffa 100644 --- a/commons/js/config.js +++ b/commons/js/config.js @@ -1,4 +1,5 @@ -const env = "p"; +const envVersion = wx.getAccountInfoSync().miniProgram.envVersion; +const env = envVersion === "release" ? "p" : "d"; const version = 1,