-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
平台管理->平台数据统计: 这些数据滞后有误且有缓存。干扰了整个页面可视图表何数据的准确性。 以账户充值为例类推 ## 修改前 ### 进入时 可视图表显示本周没有账户充值 本例中为2024-04-17 -> 2024-04-24 ![1713950395375](https://github.com/PKUHPC/scow-internal-dev/assets/78541912/fcd542ca-9492-4924-9c6e-d75e0e07516f) ### 调整日期筛选到今天 2024-04-24 -> 2024-04-24 可见有账户充值 ![1713950512545](https://github.com/PKUHPC/scow-internal-dev/assets/78541912/e38084a9-e733-4e55-80a8-40a7a59b0230) 但是此时筛选回到2024-04-17 -> 2024-04-24 仍然没有账户充值(被缓存) 切换成2024-04-23 -> 2024-04-24 则有账户充值 因此,应当修改本页面,使平台数据统计数据显示正确,避免错误的缓存无法变更。 ## 修改后 > 默认缓存时间为5分钟 ![image](https://github.com/PKUHPC/SCOW/assets/78541912/2495a834-9090-40b5-936e-3f5ee486904e)
- Loading branch information
Showing
3 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@scow/mis-server": patch | ||
--- | ||
|
||
平台数据统计缓存函数设置缓存时间变量,并默认为 5 分钟 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters