😎代码格式化及升级依赖

This commit is contained in:
zuohuaijun 2025-05-25 11:20:06 +08:00
parent cc3df148f8
commit 444ca15905
3 changed files with 9 additions and 12 deletions

View File

@ -28,9 +28,9 @@
<PackageReference Include="AspNetCoreRateLimit" Version="5.0.0" />
<PackageReference Include="BouncyCastle.Cryptography" Version="2.6.1" Aliases="BouncyCastleV2" />
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="9.0.4" />
<PackageReference Include="Furion.Extras.Authentication.JwtBearer" Version="4.9.7.71" />
<PackageReference Include="Furion.Extras.ObjectMapper.Mapster" Version="4.9.7.71" />
<PackageReference Include="Furion.Pure" Version="4.9.7.71" />
<PackageReference Include="Furion.Extras.Authentication.JwtBearer" Version="4.9.7.74" />
<PackageReference Include="Furion.Extras.ObjectMapper.Mapster" Version="4.9.7.74" />
<PackageReference Include="Furion.Pure" Version="4.9.7.74" />
<PackageReference Include="Hardware.Info" Version="101.0.1" />
<PackageReference Include="Hashids.net" Version="1.7.0" />
<PackageReference Include="IPTools.China" Version="1.6.0" />

View File

@ -369,10 +369,7 @@ public static class SqlSugarSetup
dbProvider.DbMaintenance.IsAnySystemTablePermissions();
isFirstRun = false;
}
catch
{
// ignored
}
catch { }
// 初始化/创建数据库
if (config.DbSettings.EnableInitDb || isFirstRun)
@ -555,7 +552,7 @@ public static class SqlSugarSetup
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine($"初始化种子数据 {seedType.FullName,-58} ({dbProvider.CurrentConnectionConfig.ConfigId} - {Interlocked.Increment(ref taskIndex):D003}/{size:D003},数据量:{tuple.Value.Item1:D003},新增 {tuple.Value.Item2:D003} 条记录,更新 {tuple.Value.Item3:D003} 条记录,耗时:{stopWatch.ElapsedMilliseconds:N0} ms)");
}
totalWatch.Stop(); // 停止总计时
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine($"初始化种子数据 {dbProvider.CurrentConnectionConfig.DbType} - {dbProvider.CurrentConnectionConfig.ConfigId} 总耗时:{totalWatch.ElapsedMilliseconds:N0} ms");
@ -597,7 +594,7 @@ public static class SqlSugarSetup
Console.WriteLine($"初始化视图 {viewType.FullName,-58} ({dbProvider.CurrentConnectionConfig.ConfigId} - {Interlocked.Increment(ref taskIndex):D003}/{size:D003},耗时:{stopWatch.ElapsedMilliseconds:N0} ms)");
}));
Task.WaitAll(taskList.ToArray());
totalWatch.Stop(); // 停止总计时
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine($"初始化视图 {dbProvider.CurrentConnectionConfig.DbType} - {dbProvider.CurrentConnectionConfig.ConfigId} 总耗时:{totalWatch.ElapsedMilliseconds:N0} ms");

View File

@ -2,7 +2,7 @@
"name": "admin.net.pro",
"type": "module",
"version": "2.4.33",
"lastBuildTime": "2025.05.24",
"lastBuildTime": "2025.05.25",
"description": "Admin.NET 站在巨人肩膀上的 .NET 通用权限开发框架",
"author": "zuohuaijun",
"license": "MIT",
@ -73,7 +73,7 @@
"vue-demi": "0.14.10",
"vue-draggable-plus": "^0.6.0",
"vue-grid-layout": "3.0.0-beta1",
"vue-i18n": "^11.1.3",
"vue-i18n": "^11.1.4",
"vue-json-pretty": "^2.4.0",
"vue-plugin-hiprint": "^0.0.60",
"vue-router": "^4.5.1",
@ -104,7 +104,7 @@
"less": "^4.3.0",
"openapi-ts-request": "^1.5.0",
"prettier": "^3.5.3",
"rollup-plugin-visualizer": "^5.14.0",
"rollup-plugin-visualizer": "^6.0.0",
"sass": "^1.89.0",
"terser": "^5.39.2",
"typescript": "^5.8.3",