feat(config): 更新开发环境API基础URL配置

- 将开发环境API基础URL从本地地址更新为线上测试地址
- 注释掉请求工具中的本地开发环境URL配置
- 统一开发环境API访问地址,便于调试和测试
This commit is contained in:
2025-12-02 13:39:39 +08:00
parent 77d9687cef
commit adc5c46184
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
export const ENV_CONFIG = {
// 开发环境
development: {
API_BASE_URL: 'http://127.0.0.1:9200/api',
API_BASE_URL: 'https://cms-api.websoft.top/api',
APP_NAME: '开发环境',
DEBUG: 'true',
},

View File

@@ -57,7 +57,7 @@ let baseUrl = Taro.getStorageSync('ApiUrl') || BaseUrl;
// 开发环境配置
if (process.env.NODE_ENV === 'development') {
baseUrl = 'http://localhost:9200/api'
// baseUrl = 'http://localhost:9200/api'
}
// 请求拦截器