fix(config): 修正环境配置中的API_BASE_URL地址

- 将开发环境、生产环境和测试环境的API_BASE_URL统一更新为新的域名websopy-api.websoft.top
- 更新SimpleQRCodeModal组件中二维码请求地址,使用新的API域名
- 在邀请信息请求函数fetchInviteInfo中添加详细的请求和响应日志
- 增加接口错误日志打印,提高捕获异常时的信息丰富度
This commit is contained in:
2026-04-11 19:03:45 +08:00
parent 699ff9c01e
commit b6105d65e9
3 changed files with 13 additions and 5 deletions

View File

@@ -3,19 +3,19 @@ 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: 'https://websopy-api.websoft.top/api',
APP_NAME: '开发环境',
DEBUG: 'true',
},
// 生产环境
production: {
API_BASE_URL: 'https://mp-api.websoft.top/api',
API_BASE_URL: 'https://websopy-api.websoft.top/api',
APP_NAME: '网宿软件',
DEBUG: 'false',
},
// 测试环境
test: {
API_BASE_URL: 'https://mp-api.websoft.top/api',
API_BASE_URL: 'https://websopy-api.websoft.top/api',
APP_NAME: '测试环境',
DEBUG: 'true',
}