admin před 2 roky
rodič
revize
d77955031a

+ 2 - 0
src/Hotline.Share/Dtos/Menu/MenuDto.cs

@@ -7,6 +7,8 @@
         public string ParentId { get; set; }
         public string PermissionCode { get; set; }
         public bool IsHide { get; set; }
+        public string Redirect { get; set; }
+
         public string Path { get; set; }
         public bool IsKeepAlive { get; set; }
         public bool IsAffix { get; set; }

+ 5 - 0
src/Hotline/Settings/SystemMenu.cs

@@ -37,6 +37,11 @@ namespace Hotline.Settings
         /// </summary>
         public bool IsHide { get; set; }
 
+        /// <summary>
+        /// 重定向地址
+        /// </summary>
+        [SugarColumn(IsNullable = true)]
+        public string Redirect { get; set; }
 
         /// <summary>
         /// 是否外链