wanshenmean
2026-03-27 0a6698d14daa665825b47f97c78642d33ebdda63
分支
用户 wanshenmean <cathay_xy@163.com>
星期五, 三月 27, 2026 12:08 +0800
提交者 wanshenmean <cathay_xy@163.com>
星期五, 三月 27, 2026 12:08 +0800
提交0a6698d14daa665825b47f97c78642d33ebdda63
目录 2ce9ae2825f26a8472c8338a8ef7d7f7ffb7f067 目录 | zip | gz
上一版本 bf2aa9dd56432a74940ca1bb08fb4d7eaee37045 查看 | 对比
feat(RouterService): 新增 GetAllRoutersFromCache 私有方法

- 封装 _cacheService.GetOrAdd,按 InOutType 加载入口/出口路由到缓存
- 缓存键格式:Router:AllRouters:In / Router:AllRouters:Out
- 适配 ICacheService.GetOrAdd 的实际签名 (Func<string, T>)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
已修改1个文件
16 ■■■■■ 文件已修改
Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/RouterService.cs 16 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史