From 0c9fb211d1eb61cb95c42c34900db3d3774c0245 Mon Sep 17 00:00:00 2001 From: xiao12feng8 <16507319+xiao12feng8@user.noreply.gitee.com> Date: Thu, 5 Feb 2026 15:03:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E7=BD=B2=EF=BC=9A=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E5=BC=80=E5=8F=91=E7=8E=AF=E5=A2=83=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- lover/.env | 4 ++-- xuniYou/utils/request.js | 8 ++++---- xunifriend_RaeeC/.env | 4 ++-- 开发/1-启动项目.bat => 启动项目.bat | 0 5 files changed, 9 insertions(+), 9 deletions(-) rename 开发/1-启动项目.bat => 启动项目.bat (100%) diff --git a/.env b/.env index 72273df..c76967f 100644 --- a/.env +++ b/.env @@ -7,7 +7,7 @@ DEBUG=True BACKEND_URL=http://127.0.0.1:8000 # ===== 数据库配置 ===== -DATABASE_URL=mysql+pymysql://root:root@127.0.0.1:3306/fastadmin?charset=utf8mb4 +DATABASE_URL=mysql+pymysql://fastadmin:root@1.15.149.240:3306/fastadmin?charset=utf8mb4 # ===== 用户信息接口 (PHP后端) ===== # PHP 后端地址,用于用户认证 diff --git a/lover/.env b/lover/.env index 55552ae..f87e7b6 100644 --- a/lover/.env +++ b/lover/.env @@ -1,2 +1,2 @@ -DATABASE_URL=mysql+pymysql://root:root@127.0.0.1:3306/lover?charset=utf8mb4 -USER_INFO_API=http://192.168.1.164:30100/api/user_basic/get_user_basic \ No newline at end of file +DATABASE_URL=mysql+pymysql://fastadmin:root@1.15.149.240:3306/fastadmin?charset=utf8mb4 +USER_INFO_API=http://1.15.149.240:30100/api/user_basic/get_user_basic \ No newline at end of file diff --git a/xuniYou/utils/request.js b/xuniYou/utils/request.js index 05d388a..b22a2c2 100644 --- a/xuniYou/utils/request.js +++ b/xuniYou/utils/request.js @@ -1,8 +1,8 @@ // Windows 本地开发 - 混合架构 -// export const baseURL = 'http://192.168.1.164:30100' // PHP 处理用户管理和界面 -export const baseURL = 'http://1.15.149.240:30100' // PHP 处理用户管理和界面 -// export const baseURLPy = 'http://192.168.1.164:30101' // FastAPI 处理 AI 功能 -export const baseURLPy = 'http://1.15.149.240:30101' // FastAPI 处理 AI 功能 +export const baseURL = 'http://192.168.1.164:30100' // PHP 处理用户管理和界面 +// export const baseURL = 'http://1.15.149.240:30100' // PHP 处理用户管理和界面 +export const baseURLPy = 'http://192.168.1.164:30101' // FastAPI 处理 AI 功能 +// export const baseURLPy = 'http://1.15.149.240:30101' // FastAPI 处理 AI 功能 // 远程服务器 - 需要时取消注释 // export const baseURL = 'http://1.15.149.240:30100' diff --git a/xunifriend_RaeeC/.env b/xunifriend_RaeeC/.env index b7cd5f1..762e1ba 100644 --- a/xunifriend_RaeeC/.env +++ b/xunifriend_RaeeC/.env @@ -3,9 +3,9 @@ app_trace = false [database] type = mysql -hostname = 127.0.0.1 +hostname = 1.15.149.240 database = fastadmin -username = root +username = fastadmin password = root hostport = 3306 charset = utf8mb4 diff --git a/开发/1-启动项目.bat b/启动项目.bat similarity index 100% rename from 开发/1-启动项目.bat rename to 启动项目.bat