Merge branch 'Test.IRC' of http://192.168.3.68:2000/XCKJ/irc-netcore-api into Test.IRC
continuous-integration/drone/push Build encountered an error Details

IRC_NewDev
hang 2023-12-01 13:30:38 +08:00
commit 6be556dad2
1 changed files with 1 additions and 1 deletions

View File

@ -2580,7 +2580,7 @@ namespace IRaCIS.Application.Services
var value = _provider.Get<string>(cacheKey).Value;
if (value == null)
{
_provider.Set(cacheKey, DateTime.Now.ToString(), TimeSpan.FromHours(5));
_provider.Set(cacheKey, DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), TimeSpan.FromHours(5));
// _cache.Set(cacheKey, DateTime.Now.ToString(), TimeSpan.FromHours(5));
}