From f08792f77392555d01025f0ac26a70eb7f367f16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=A8=E5=A4=A9?= Date: Fri, 16 Oct 2026 18:29:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B=E6=94=B9=E6=8C=87=E4=BE=9B=E5=BA=94=E5=95=86?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit miniprogram/config.example.js 的 apiBase/webBase 原指向主系统域名 www.xdjchuanhui.com,而本仓库(供应商系统)站点为 supplier.xdjchuanhui.com ⇒ 模板改对,避免复制为 config.js 后误连主系统。 本地 config.js(gitignored)不受影响;模板注释与结构未动。 --- miniprogram/config.example.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miniprogram/config.example.js b/miniprogram/config.example.js index a8b715f..8de094e 100644 --- a/miniprogram/config.example.js +++ b/miniprogram/config.example.js @@ -2,7 +2,7 @@ module.exports = { // 开发:微信开发者工具勾选「不校验合法域名」时可填局域网 IP // 生产:必须是 HTTPS 且已在微信公众平台配置 request 合法域名 - apiBase: 'https://www.xdjchuanhui.com/api', + apiBase: 'https://supplier.xdjchuanhui.com/api', // 公开溯源 H5 根地址(供应商质检报告跳转 /t/:code) - webBase: 'https://www.xdjchuanhui.com', + webBase: 'https://supplier.xdjchuanhui.com', };