feat(config): 增加接口请求超时时间配置

- 将默认请求超时时间从30秒调整为300秒
- 保持上传文件接口的特定超时时间为120秒
- 优化导出语句格式以提高代码可读性
This commit is contained in:
2025-12-10 14:49:53 +08:00
parent 268645ed62
commit e5110e624c

View File

@@ -16,7 +16,7 @@ const config: {
/** /**
* 接口请求超时时间 * 接口请求超时时间
*/ */
request_timeout: 30000, request_timeout: 300000,
/** /**
* 默认接口请求类型 * 默认接口请求类型
@@ -30,4 +30,4 @@ const specificApiTimeoutObj = {
'/infra/file/jeelowcode/upload': 120000,//上传文件接口 '/infra/file/jeelowcode/upload': 120000,//上传文件接口
} }
export { config, specificApiTimeoutObj } export {config, specificApiTimeoutObj}