修改国际化返回更多信息
parent
6c2901daca
commit
ab0c256e0b
|
@ -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
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue