Compare commits

...

2 Commits

Author SHA1 Message Date
hang 12ddeba2a3 Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing Details
2025-02-10 09:25:38 +08:00
hang ab0c256e0b 修改国际化返回更多信息 2025-02-10 09:25:37 +08:00
2 changed files with 6 additions and 0 deletions

View File

@ -121,7 +121,9 @@ namespace IRaCIS.Core.Application.ViewModel
public class InternationalizationSimpleDto : BatchInternationalizationDto
{
public string Version { get; set; }
public DateTime CreateTime { get; set; }
}
public class BatchUpdateInfoCommand

View File

@ -45,6 +45,10 @@ namespace IRaCIS.Core.Application.Service
ValueCN = t.ValueCN,
FrontType = t.FrontType,
Description = t.Description,
Module=t.Module,
State = t.State,
Version=t.PublishLog.Version,
CreateTime = t.CreateTime,
}).ToListAsync();
await _fusionCache.SetAsync<List<InternationalizationSimpleDto>>(CacheKeys.FrontInternational, list, TimeSpan.FromDays(1));