Merge branch 'net5.0'

This commit is contained in:
不做码农
2022-05-09 12:28:54 +08:00
32 changed files with 854 additions and 226 deletions

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZR.Model.System.Vo
{
public class LangVo
{
}
}

View File

@@ -17,7 +17,6 @@ namespace ZR.Model.System.Vo
public bool Hidden { get; set; }
public string Name { get; set; }
public string Path { get; set; }
//[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string Redirect { get; set; }
public Meta Meta { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
@@ -39,6 +38,7 @@ namespace ZR.Model.System.Vo
/// 设置为true则不会被 <keep-alive>缓存
/// </summary>
public bool NoCache { get; set; }
public string TitleKey { get; set; } = string.Empty;
public Meta(string title, string icon, bool noCache)
{
@@ -46,5 +46,12 @@ namespace ZR.Model.System.Vo
Icon = icon;
NoCache = noCache;
}
public Meta(string title, string icon, bool noCache, string titleKey)
{
Title = title;
Icon = icon;
NoCache = noCache;
TitleKey = titleKey;
}
}
}