From a4938fbe3186fd1dfc1bb2bf86f94478e6ede5ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Tue, 27 Jan 2026 16:53:13 +0800 Subject: [PATCH] =?UTF-8?q?fix(config):=20=E6=9B=B4=E6=96=B0API=E5=9F=BA?= =?UTF-8?q?=E7=A1=80URL=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将开发环境API_BASE_URL从mp-api.websoft.top更改为cms-api.websoft.top - 将生产环境API_BASE_URL从mp-api.websoft.top更改为cms-api.websoft.top - 将测试环境API_BASE_URL从mp-api.s209.websoft.top更改为cms-api.s209.websoft.top - 更新SimpleQRCodeModal组件中的二维码生成API地址为cms-api.websoft.top --- config/env.ts | 6 +++--- src/components/SimpleQRCodeModal.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/env.ts b/config/env.ts index da3a21b..16c21e5 100644 --- a/config/env.ts +++ b/config/env.ts @@ -3,19 +3,19 @@ export const ENV_CONFIG = { // 开发环境 development: { // API_BASE_URL: 'http://127.0.0.1:9200/api', - API_BASE_URL: 'https://mp-api.websoft.top/api', + API_BASE_URL: 'https://cms-api.websoft.top/api', APP_NAME: '开发环境', DEBUG: 'true', }, // 生产环境 production: { - API_BASE_URL: 'https://mp-api.websoft.top/api', + API_BASE_URL: 'https://cms-api.websoft.top/api', APP_NAME: '桂乐淘', DEBUG: 'false', }, // 测试环境 test: { - API_BASE_URL: 'https://mp-api.s209.websoft.top/api', + API_BASE_URL: 'https://cms-api.s209.websoft.top/api', APP_NAME: '测试环境', DEBUG: 'true', } diff --git a/src/components/SimpleQRCodeModal.tsx b/src/components/SimpleQRCodeModal.tsx index 1acde23..167c8cc 100644 --- a/src/components/SimpleQRCodeModal.tsx +++ b/src/components/SimpleQRCodeModal.tsx @@ -81,7 +81,7 @@ const SimpleQRCodeModal: React.FC = ({ {qrContent ? (