Kaynağa Gözat

😎1、恢复实体类长度验证 2、升级依赖

zuohuaijun 8 ay önce
ebeveyn
işleme
12dec2f666

+ 5 - 5
Admin.NET/Admin.NET.Core/Admin.NET.Core.csproj

@@ -19,9 +19,9 @@
     <PackageReference Include="AspectCore.Extensions.Reflection" Version="2.4.0" />
     <PackageReference Include="AspNetCoreRateLimit" Version="5.0.0" />
     <PackageReference Include="Elastic.Clients.Elasticsearch" Version="9.0.7" />
-    <PackageReference Include="Furion.Extras.Authentication.JwtBearer" Version="4.9.7.98" />
-    <PackageReference Include="Furion.Extras.ObjectMapper.Mapster" Version="4.9.7.98" />
-    <PackageReference Include="Furion.Pure" Version="4.9.7.98" />
+    <PackageReference Include="Furion.Extras.Authentication.JwtBearer" Version="4.9.7.105" />
+    <PackageReference Include="Furion.Extras.ObjectMapper.Mapster" Version="4.9.7.105" />
+    <PackageReference Include="Furion.Pure" Version="4.9.7.105" />
 	<PackageReference Include="Hardware.Info" Version="101.0.1.1" />
     <PackageReference Include="Hashids.net" Version="1.7.0" />
     <PackageReference Include="IPTools.China" Version="1.6.0" />
@@ -41,7 +41,7 @@
     <PackageReference Include="SixLabors.ImageSharp.Web" Version="3.1.5" />
     <PackageReference Include="SKIT.FlurlHttpClient.Wechat.Api" Version="3.11.0" />
     <PackageReference Include="SKIT.FlurlHttpClient.Wechat.TenpayV3" Version="3.13.0" />
-    <PackageReference Include="SqlSugar.MongoDbCore" Version="5.1.4.227" />
+    <PackageReference Include="SqlSugar.MongoDbCore" Version="5.1.4.232" />
     <PackageReference Include="SqlSugarCore" Version="5.1.4.198" />
     <PackageReference Include="SSH.NET" Version="2025.0.0" />
     <PackageReference Include="System.Linq.Dynamic.Core" Version="1.6.6" />
@@ -56,7 +56,7 @@
   <ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
     <PackageReference Include="AspNet.Security.OAuth.Gitee" Version="8.3.0" />
     <PackageReference Include="AspNet.Security.OAuth.Weixin" Version="8.3.0" />
-    <PackageReference Include="Lazy.Captcha.Core" Version="2.0.9" />
+    <PackageReference Include="Lazy.Captcha.Core" Version="2.2.0" />
     <PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="8.0.11" />
     <PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="8.0.11" />
     <PackageReference Include="Microsoft.AspNetCore.SignalR.StackExchangeRedis" Version="8.0.11" />

+ 12 - 2
Admin.NET/Admin.NET.Core/Entity/SysLogVis.cs

@@ -18,36 +18,42 @@ public partial class SysLogVis : EntityBaseTenant
     /// 模块名称
     /// </summary>
     [SugarColumn(ColumnDescription = "模块名称", Length = 256)]
+    [MaxLength(256)]
     public string? ControllerName { get; set; }
 
     /// <summary>
     /// 方法名称
     ///</summary>
     [SugarColumn(ColumnDescription = "方法名称", Length = 256)]
+    [MaxLength(256)]
     public string? ActionName { get; set; }
 
     /// <summary>
     /// 显示名称
     ///</summary>
     [SugarColumn(ColumnDescription = "显示名称", Length = 256)]
+    [MaxLength(256)]
     public string? DisplayTitle { get; set; }
 
     /// <summary>
     /// 执行状态
     /// </summary>
     [SugarColumn(ColumnDescription = "执行状态", Length = 32)]
+    [MaxLength(32)]
     public string? Status { get; set; }
 
     /// <summary>
     /// IP地址
     /// </summary>
     [SugarColumn(ColumnDescription = "IP地址", Length = 256)]
+    [MaxLength(256)]
     public string? RemoteIp { get; set; }
 
     /// <summary>
     /// 登录地点
     /// </summary>
     [SugarColumn(ColumnDescription = "登录地点", Length = 128)]
+    [MaxLength(128)]
     public string? Location { get; set; }
 
     /// <summary>
@@ -57,21 +63,23 @@ public partial class SysLogVis : EntityBaseTenant
     public decimal? Longitude { get; set; }
 
     /// <summary>
-    /// 
+    /// 
     /// </summary>
-    [SugarColumn(ColumnDescription = "度")]
+    [SugarColumn(ColumnDescription = "度")]
     public decimal? Latitude { get; set; }
 
     /// <summary>
     /// 浏览器
     /// </summary>
     [SugarColumn(ColumnDescription = "浏览器", Length = 1024)]
+    [MaxLength(1024)]
     public string? Browser { get; set; }
 
     /// <summary>
     /// 操作系统
     /// </summary>
     [SugarColumn(ColumnDescription = "操作系统", Length = 256)]
+    [MaxLength(256)]
     public string? Os { get; set; }
 
     /// <summary>
@@ -96,11 +104,13 @@ public partial class SysLogVis : EntityBaseTenant
     /// 账号
     /// </summary>
     [SugarColumn(ColumnDescription = "账号", Length = 32)]
+    [MaxLength(32)]
     public string? Account { get; set; }
 
     /// <summary>
     /// 真实姓名
     /// </summary>
     [SugarColumn(ColumnDescription = "真实姓名", Length = 32)]
+    [MaxLength(32)]
     public string? RealName { get; set; }
 }

+ 2 - 2
Admin.NET/Admin.NET.Test/Admin.NET.Test.csproj

@@ -12,11 +12,11 @@
     </PropertyGroup>
 
     <ItemGroup>
-      <PackageReference Include="Furion.Xunit" Version="4.9.7.98" />
+      <PackageReference Include="Furion.Xunit" Version="4.9.7.105" />
       <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
       <PackageReference Include="Selenium.Support" Version="4.34.0" />
       <PackageReference Include="Selenium.WebDriver" Version="4.34.0" />
-      <PackageReference Include="Selenium.WebDriver.MSEdgeDriver" Version="138.0.3351.83" />
+      <PackageReference Include="Selenium.WebDriver.MSEdgeDriver" Version="138.0.3351.95" />
       <PackageReference Include="xunit.assert" Version="2.9.3" />
     </ItemGroup>
 

+ 8 - 8
Web/package.json

@@ -2,7 +2,7 @@
 	"name": "admin.net",
 	"type": "module",
 	"version": "2.4.33",
-	"lastBuildTime": "2025.07.19",
+	"lastBuildTime": "2025.07.25",
 	"description": "Admin.NET 站在巨人肩膀上的 .NET 通用权限开发框架",
 	"author": "zuohuaijun",
 	"license": "MIT",
@@ -35,7 +35,7 @@
 		"@wangeditor/editor-for-vue": "^5.1.12",
 		"animate.css": "^4.1.1",
 		"async-validator": "^4.2.5",
-		"axios": "^1.10.0",
+		"axios": "^1.11.0",
 		"countup.js": "^2.8.2",
 		"cropperjs": "^1.6.2",
 		"echarts": "^5.6.0",
@@ -65,12 +65,12 @@
 		"splitpanes": "^4.0.4",
 		"vcrontab-3": "^3.3.22",
 		"vform3-builds": "^3.0.10",
-		"vue": "^3.5.17",
+		"vue": "^3.5.18",
 		"vue-clipboard3": "^2.0.0",
 		"vue-demi": "^0.14.10",
 		"vue-draggable-plus": "^0.6.0",
 		"vue-grid-layout": "3.0.0-beta1",
-		"vue-i18n": "^11.1.10",
+		"vue-i18n": "^11.1.11",
 		"vue-json-pretty": "^2.5.0",
 		"vue-plugin-hiprint": "^0.0.60",
 		"vue-router": "^4.5.1",
@@ -86,11 +86,11 @@
 		"@types/node": "^22.15.35",
 		"@types/nprogress": "^0.2.3",
 		"@types/sortablejs": "^1.15.8",
-		"@typescript-eslint/eslint-plugin": "^8.37.0",
-		"@typescript-eslint/parser": "^8.37.0",
+		"@typescript-eslint/eslint-plugin": "^8.38.0",
+		"@typescript-eslint/parser": "^8.38.0",
 		"@vitejs/plugin-vue": "^6.0.0",
 		"@vitejs/plugin-vue-jsx": "^5.0.1",
-		"@vue/compiler-sfc": "^3.5.17",
+		"@vue/compiler-sfc": "^3.5.18",
 		"code-inspector-plugin": "^0.20.17",
 		"eslint": "^9.31.0",
 		"eslint-plugin-vue": "^10.3.0",
@@ -101,7 +101,7 @@
 		"sass": "^1.89.2",
 		"terser": "^5.43.1",
 		"typescript": "^5.8.3",
-		"vite": "^7.0.5",
+		"vite": "^7.0.6",
 		"vite-plugin-cdn-import": "^1.0.1",
 		"vite-plugin-compression2": "^2.2.0",
 		"vite-plugin-vue-setup-extend": "^0.4.0",