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'; /** * 保存用户信息到本地存储