From 11729876ca9b84c087748f1b8adf9f036becac96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Mon, 28 Jul 2025 14:05:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E6=AD=A3=E5=BC=8F=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 23 ----------------------- config/env.ts | 4 ++-- src/utils/server.ts | 2 +- 3 files changed, 3 insertions(+), 26 deletions(-) delete mode 100644 .env.example diff --git a/.env.example b/.env.example deleted file mode 100644 index b3a2c82..0000000 --- a/.env.example +++ /dev/null @@ -1,23 +0,0 @@ -# 环境变量配置示例 -# 复制此文件为 .env 并填入实际值 - -# 租户ID -TENANT_ID=your_tenant_id - -# API基础地址 -BASE_URL=https://your-api-domain.com/api - -# 服务器API地址 -SERVER_API_URL=https://your-server-domain.com/api - -# 模板套餐ID -TEMPLATE_ID=your_template_id - -# 微信小程序AppID -WECHAT_APPID=your_wechat_appid - -# 支付宝小程序AppID -ALIPAY_APPID=your_alipay_appid - -# 字节跳动小程序AppID -TT_APPID=your_tt_appid diff --git a/config/env.ts b/config/env.ts index 30019e0..f2afab4 100644 --- a/config/env.ts +++ b/config/env.ts @@ -2,13 +2,13 @@ export const ENV_CONFIG = { // 开发环境 development: { - API_BASE_URL: 'https://cms-api.s209.websoft.top/api', + API_BASE_URL: 'https://cms-api.websoft.top/api', APP_NAME: '时里院子市集', DEBUG: 'true', }, // 生产环境 production: { - API_BASE_URL: 'https://cms-api.s209.websoft.top/api', + API_BASE_URL: 'https://cms-api.websoft.top/api', APP_NAME: '时里院子市集', DEBUG: 'false', }, diff --git a/src/utils/server.ts b/src/utils/server.ts index 8f3493f..fb48f69 100644 --- a/src/utils/server.ts +++ b/src/utils/server.ts @@ -4,7 +4,7 @@ import {User} from "@/api/system/user/model"; // 模版套餐ID - 请根据实际情况修改 export const TEMPLATE_ID = '10550'; // 服务接口 - 请根据实际情况修改 -export const SERVER_API_URL = 'https://server.s209.websoft.top/api'; +export const SERVER_API_URL = 'https://server.websoft.top/api'; // export const SERVER_API_URL = 'http://127.0.0.1:8000/api'; /** * 保存用户信息到本地存储