From 0e4709549d62b50e6fa813140f4f88e909419b48 Mon Sep 17 00:00:00 2001 From: ws Date: Wed, 22 Apr 2026 18:12:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/config.js b/utils/config.js index f7c80fc..521182a 100644 --- a/utils/config.js +++ b/utils/config.js @@ -4,6 +4,7 @@ const ENV_CONFIG = { // 正式版 release: 'https://xcx.yun.588580.xyz', + trial: 'https://xcx.yun.588580.xyz', // 开发版 & 体验版 develop: 'http://172.16.60.235:8080' } @@ -13,7 +14,7 @@ function getBaseUrl() { const accountInfo = wx.getAccountInfoSync() const envVersion = accountInfo.miniProgram.envVersion // release = 正式版, develop = 开发版, trial = 体验版 - return envVersion === 'release' ? ENV_CONFIG.release : ENV_CONFIG.develop + return envVersion === 'trial' ? ENV_CONFIG.trial : ENV_CONFIG.develop } const BASE_URL = getBaseUrl()