feat:在系统缓存刷新功能内,增加风控引擎缓存刷新
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user