feat:在系统缓存刷新功能内,增加风控引擎缓存刷新

This commit is contained in:
ruisu
2026-07-09 17:41:10 +08:00
parent 4e6d887b68
commit 66381e5dc4
2 changed files with 3 additions and 24 deletions
+3
View File
@@ -15,6 +15,7 @@ using YLErp.BLL;
using YLErp.DBModels;
using YLErp.DBModels.Consts;
using YLErp.Modules.DictionaryModule;
using YLErp.Modules.RiskEngine;
using YLErp.Modules.SystemModule;
using YLErp.Web.Models;
@@ -1356,6 +1357,8 @@ namespace YLErp.Web.Controllers
Providers.MemoryCacheProvider.Default.FlushAll();
Server.CacheProvider.FlushAll();
Modules.DataCacheModule.DataCacheManager.ResetDataCache();
// 刷新风控引擎缓存
RiskEngineService.GetInstance().RefreshCache();
return Json(1);
}