fix(config): 更新开发和测试环境API基础URL配置

- 将开发环境API_BASE_URL从本地地址切换到线上地址
- 将测试环境API_BASE_URL从本地地址切换到线上地址
- 移除SERVER_API_URL常量引用
- 简化gltUserTicket接口请求路径配置
- 修改用户票券列表显示票号ID替代模板名称
- 注释掉票券状态标签显示逻辑
This commit is contained in:
2026-02-05 11:14:36 +08:00
parent 5e90c48b8b
commit 5dc70a1c3c
3 changed files with 9 additions and 11 deletions

View File

@@ -2,8 +2,8 @@
export const ENV_CONFIG = {
// 开发环境
development: {
API_BASE_URL: 'http://127.0.0.1:9200/api',
// API_BASE_URL: 'https://mp-api.websoft.top/api',
// API_BASE_URL: 'http://127.0.0.1:9200/api',
API_BASE_URL: 'https://mp-api.websoft.top/api',
APP_NAME: '开发环境',
DEBUG: 'true',
},
@@ -15,8 +15,8 @@ export const ENV_CONFIG = {
},
// 测试环境
test: {
API_BASE_URL: 'http://127.0.0.1:9200/api',
// API_BASE_URL: 'https://mp-api.websoft.top/api',
// API_BASE_URL: 'http://127.0.0.1:9200/api',
API_BASE_URL: 'https://mp-api.websoft.top/api',
APP_NAME: '测试环境',
DEBUG: 'true',
}