From 5ae6ac7e010bb682bd4ce53ff09dc98e888eaf95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=8B=A4=E6=B0=91?= Date: Tue, 26 Nov 2024 16:39:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(cert):=20=E4=BC=98=E5=8C=96=E8=AF=81?= =?UTF-8?q?=E4=B9=A6=E8=BF=87=E6=9C=9F=E6=8F=90=E9=86=92=E5=92=8C=E7=AD=BE?= =?UTF-8?q?=E7=BD=B2=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -增加首页切换时刷新用户数据 - 调整证书过期提醒逻辑,提高提醒频率- 优化签署流程,修正签名数据统计 - 清理部分冗余代码,提高代码可读性 --- src/main/ets/http/HttpHelper.ets | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/ets/http/HttpHelper.ets b/src/main/ets/http/HttpHelper.ets index 9a2c366..eb11a5e 100644 --- a/src/main/ets/http/HttpHelper.ets +++ b/src/main/ets/http/HttpHelper.ets @@ -88,7 +88,8 @@ export class HttpHelper { connectTimeout: 20000, readTimeout: 20000, header: header, - extraData: params.data + extraData: params.data, + usingCache: false, }) .then((data: http.HttpResponse) => { if (showLog) { @@ -171,6 +172,7 @@ export class HttpHelper { connectTimeout: 20000, readTimeout: 20000, header: header, + usingCache: false, extraData: data ? encodeURI(data) : undefined }) .then((data: http.HttpResponse) => { @@ -254,6 +256,7 @@ export class HttpHelper { connectTimeout: 20000, readTimeout: 20000, header: params.headers, + usingCache: false, // extraData: params.data }) .then((data: http.HttpResponse) => {