切换正式接口地址
This commit is contained in:
23
.env.example
23
.env.example
@@ -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
|
||||
@@ -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',
|
||||
},
|
||||
|
||||
@@ -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';
|
||||
/**
|
||||
* 保存用户信息到本地存储
|
||||
|
||||
Reference in New Issue
Block a user