配合风控 验资改造 缓存设置

This commit is contained in:
yexuzhong
2025-08-27 14:39:43 +08:00
parent b3ddc1c898
commit 165f7c7df1
3 changed files with 16 additions and 0 deletions
@@ -81,6 +81,7 @@ namespace RealTimeCalcPositionService
if (_yLCache != null)
{
_yLCache.StringSet<ClientBalanceForTrsResponse>("ClientBalance:" + cb.ClientId, obj);
_yLCache.HashSet<decimal>("risk:cash:balance:amount", cb.ClientId.ToString(), (decimal)obj.AvailableAmount);
}
}
catch (Exception ex)