From 3a396d79a2317846e6dc7057fe3a4c77f08f83ae Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Tue, 10 Nov 2026 09:37:04 +0800 Subject: [PATCH] =?UTF-8?q?chore(mobile-h5):=20=E5=88=87=E6=8D=A2=E6=9C=AC?= =?UTF-8?q?=E5=9C=B0=E8=81=94=E8=B0=83=E7=8E=AF=E5=A2=83=E4=B8=8E=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=20AppID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 按用户本地验收要求,将 APP_ENV 切换为 local,使用本机 API 和移动 H5 地址,并将微信 AppID 切换为测试号。 --- mobile-h5/manifest.json | 4 ++-- mobile-h5/utils/config.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mobile-h5/manifest.json b/mobile-h5/manifest.json index 792317bd..394ab581 100644 --- a/mobile-h5/manifest.json +++ b/mobile-h5/manifest.json @@ -49,11 +49,11 @@ /* 快应用特有相关 */ "quickapp" : {}, /* 小程序特有相关 */ - /* 当前:生产 AppID;切测试时把 appid 改为下方测试值 */ + /* 当前:测试 AppID;切生产时把 appid 改为下方生产值 */ /* 生产 AppID:wx2b139581f4c855e4 */ /* 测试 AppID:wxa261ad85f2c99b26 */ "mp-weixin" : { - "appid" : "wx2b139581f4c855e4", + "appid" : "wxa261ad85f2c99b26", "setting" : { "urlCheck" : false, "es6" : true diff --git a/mobile-h5/utils/config.js b/mobile-h5/utils/config.js index 23b3cb3c..5eb32ec7 100644 --- a/mobile-h5/utils/config.js +++ b/mobile-h5/utils/config.js @@ -6,7 +6,7 @@ * * 微信公众平台须为对应环境配置 request / 业务域名(HTTPS) */ -export const APP_ENV = 'prod' // 'local' | 'test' | 'prod' +export const APP_ENV = 'local' // 'local' | 'test' | 'prod' const ENV_PRESETS = { local: {