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