From dbfc8011c42deeffcfc709ae981cdcaf54de0f96 Mon Sep 17 00:00:00 2001 From: chenglijuan Date: Wed, 20 May 2026 10:05:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BA=BF=E4=B8=8A=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/appointment/appointment.wxml | 4 ++-- utils/config.js | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/appointment/appointment.wxml b/pages/appointment/appointment.wxml index 63224f4..8576855 100644 --- a/pages/appointment/appointment.wxml +++ b/pages/appointment/appointment.wxml @@ -1,8 +1,8 @@ - + - 预约人信息 + 来访人信息 姓名* diff --git a/utils/config.js b/utils/config.js index 533eac3..1b231a9 100644 --- a/utils/config.js +++ b/utils/config.js @@ -2,6 +2,7 @@ // 环境地址配置 const ENV_CONFIG = { + release: 'https://smartguest.bmser.com:8091', trial: 'https://smartguest.bmser.com:8091', // develop: 'https://192.168.123.76:8080' develop: 'https://10.50.13.191:8091' @@ -12,6 +13,9 @@ function getBaseUrl() { const accountInfo = wx.getAccountInfoSync() const envVersion = accountInfo.miniProgram.envVersion // release = 正式版, develop = 开发版, trial = 体验版 + if (envVersion === 'release') { + return ENV_CONFIG.release + } return envVersion === 'trial' ? ENV_CONFIG.trial : ENV_CONFIG.develop }