fix(cert): 优化证书过期提醒和签署流程

-增加首页切换时刷新用户数据
- 调整证书过期提醒逻辑,提高提醒频率- 优化签署流程,修正签名数据统计
- 清理部分冗余代码,提高代码可读性
这个提交包含在:
徐勤民 2024-11-26 16:39:19 +08:00
父节点 fbca6847f1
当前提交 5ae6ac7e01

查看文件

@ -88,7 +88,8 @@ export class HttpHelper {
connectTimeout: 20000, connectTimeout: 20000,
readTimeout: 20000, readTimeout: 20000,
header: header, header: header,
extraData: params.data extraData: params.data,
usingCache: false,
}) })
.then((data: http.HttpResponse) => { .then((data: http.HttpResponse) => {
if (showLog) { if (showLog) {
@ -171,6 +172,7 @@ export class HttpHelper {
connectTimeout: 20000, connectTimeout: 20000,
readTimeout: 20000, readTimeout: 20000,
header: header, header: header,
usingCache: false,
extraData: data ? encodeURI(data) : undefined extraData: data ? encodeURI(data) : undefined
}) })
.then((data: http.HttpResponse) => { .then((data: http.HttpResponse) => {
@ -254,6 +256,7 @@ export class HttpHelper {
connectTimeout: 20000, connectTimeout: 20000,
readTimeout: 20000, readTimeout: 20000,
header: params.headers, header: params.headers,
usingCache: false,
// extraData: params.data // extraData: params.data
}) })
.then((data: http.HttpResponse) => { .then((data: http.HttpResponse) => {