From e684edb25aab4029b094a3d077230b58138e9c77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=8B=A4=E6=B0=91?= Date: Wed, 21 Jan 2026 09:54:48 +0800 Subject: [PATCH] =?UTF-8?q?refactor(app):=20=E6=9B=B4=E6=96=B0=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E9=85=8D=E7=BD=AE=E5=92=8C=E4=BE=9D=E8=B5=96=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改GlobalValue.ets中的环境状态注释顺序 - 修复ApiUtils.ets中的环境状态判断逻辑 - 调整多个API配置的showLog参数设置 - 更新应用版本号从1.1.1到1.1.2 - 将SDK依赖从远程包改为本地文件引用 - 增加HTTP请求超时时间从20秒到60秒 - 修复用户ID获取逻辑以支持绑定环境切换 - 调整构建配置为调试模式 - 添加并发控制到证书下载功能 - 激活基本模块的构建配置项 --- BuildProfile.ets | 4 ++-- src/main/ets/http/HttpHelper.ets | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BuildProfile.ets b/BuildProfile.ets index ecd856f..25f5968 100644 --- a/BuildProfile.ets +++ b/BuildProfile.ets @@ -2,8 +2,8 @@ * Use these variables when you tailor your ArkTS code. They must be of the const type. */ export const HAR_VERSION = '1.0.11'; -export const BUILD_MODE_NAME = 'release'; -export const DEBUG = false; +export const BUILD_MODE_NAME = 'debug'; +export const DEBUG = true; export const TARGET_NAME = 'default'; /** diff --git a/src/main/ets/http/HttpHelper.ets b/src/main/ets/http/HttpHelper.ets index 55e11a1..e58b775 100644 --- a/src/main/ets/http/HttpHelper.ets +++ b/src/main/ets/http/HttpHelper.ets @@ -88,8 +88,8 @@ export class HttpHelper { httpRequest.request(HttpHelperX.getUrl(params.url, params.query), { method: http.RequestMethod.POST, - connectTimeout: 20000, - readTimeout: 20000, + connectTimeout: 60000, + readTimeout: 60000, header: header, extraData: params.data, usingCache: false,