refactor(app): 更新应用配置和依赖管理
- 修改GlobalValue.ets中的环境状态注释顺序 - 修复ApiUtils.ets中的环境状态判断逻辑 - 调整多个API配置的showLog参数设置 - 更新应用版本号从1.1.1到1.1.2 - 将SDK依赖从远程包改为本地文件引用 - 增加HTTP请求超时时间从20秒到60秒 - 修复用户ID获取逻辑以支持绑定环境切换 - 调整构建配置为调试模式 - 添加并发控制到证书下载功能 - 激活基本模块的构建配置项
这个提交包含在:
父节点
6cc43ce608
当前提交
e684edb25a
@ -2,8 +2,8 @@
|
|||||||
* Use these variables when you tailor your ArkTS code. They must be of the const type.
|
* 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 HAR_VERSION = '1.0.11';
|
||||||
export const BUILD_MODE_NAME = 'release';
|
export const BUILD_MODE_NAME = 'debug';
|
||||||
export const DEBUG = false;
|
export const DEBUG = true;
|
||||||
export const TARGET_NAME = 'default';
|
export const TARGET_NAME = 'default';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -88,8 +88,8 @@ export class HttpHelper {
|
|||||||
|
|
||||||
httpRequest.request(HttpHelperX.getUrl(params.url, params.query), {
|
httpRequest.request(HttpHelperX.getUrl(params.url, params.query), {
|
||||||
method: http.RequestMethod.POST,
|
method: http.RequestMethod.POST,
|
||||||
connectTimeout: 20000,
|
connectTimeout: 60000,
|
||||||
readTimeout: 20000,
|
readTimeout: 60000,
|
||||||
header: header,
|
header: header,
|
||||||
extraData: params.data,
|
extraData: params.data,
|
||||||
usingCache: false,
|
usingCache: false,
|
||||||
|
|||||||
正在加载...
在新工单中引用
屏蔽一个用户