Browse Source

😎升级所有nuget包依赖, Furion v4.9.3.9

zuohuaijun 1 year ago
parent
commit
a173a3a163

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

@@ -18,9 +18,9 @@
     <PackageReference Include="AspectCore.Extensions.Reflection" Version="2.4.0" />
     <PackageReference Include="AspNetCoreRateLimit" Version="5.0.0" />
     <PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.13.12" />
-    <PackageReference Include="Furion.Extras.Authentication.JwtBearer" Version="4.9.3.4" />
-    <PackageReference Include="Furion.Extras.ObjectMapper.Mapster" Version="4.9.3.4" />
-    <PackageReference Include="Furion.Pure" Version="4.9.3.4" />
+    <PackageReference Include="Furion.Extras.Authentication.JwtBearer" Version="4.9.3.9" />
+    <PackageReference Include="Furion.Extras.ObjectMapper.Mapster" Version="4.9.3.9" />
+    <PackageReference Include="Furion.Pure" Version="4.9.3.9" />
     <PackageReference Include="IPTools.China" Version="1.6.0" />
     <PackageReference Include="IPTools.International" Version="1.6.0" />
     <PackageReference Include="Magicodes.IE.Excel" Version="2.7.5.1" />
@@ -32,9 +32,9 @@
     <PackageReference Include="QRCoder" Version="1.5.1" />
     <PackageReference Include="RabbitMQ.Client" Version="6.8.1" />
     <PackageReference Include="SixLabors.ImageSharp.Web" Version="3.1.2" />
-    <PackageReference Include="SKIT.FlurlHttpClient.Wechat.Api" Version="3.1.0" />
+    <PackageReference Include="SKIT.FlurlHttpClient.Wechat.Api" Version="3.2.0" />
     <PackageReference Include="SKIT.FlurlHttpClient.Wechat.TenpayV3" Version="3.4.0" />
-    <PackageReference Include="SqlSugarCore" Version="5.1.4.155" />
+    <PackageReference Include="SqlSugarCore" Version="5.1.4.156" />
     <PackageReference Include="SSH.NET" Version="2024.0.0" />
     <PackageReference Include="System.Linq.Dynamic.Core" Version="1.3.14" />
     <PackageReference Include="UAParser" Version="3.1.47" />

+ 4 - 3
Admin.NET/Admin.NET.Core/Service/File/SysFileService.cs

@@ -61,7 +61,7 @@ public class SysFileService : IDynamicApiController, ITransient
     [DisplayName("上传文件")]
     public async Task<SysFile> UploadFile([FromForm] FileUploadInput input)
     {
-        return await HandleUploadFile(input.File, input.Path, filetype: input.FileType);
+        return await HandleUploadFile(input.File, input.Path, fileType: input.FileType);
     }
 
     /// <summary>
@@ -302,8 +302,9 @@ public class SysFileService : IDynamicApiController, ITransient
     /// <param name="file">文件</param>
     /// <param name="savePath">路径</param>
     /// <param name="allowSuffix">允许格式:.jpg.png.gif.tif.bmp</param>
+    /// <param name="fileType">类型</param>
     /// <returns></returns>
-    private async Task<SysFile> HandleUploadFile(IFormFile file, string savePath, string allowSuffix = "", string filetype = "")
+    private async Task<SysFile> HandleUploadFile(IFormFile file, string savePath, string allowSuffix = "", string fileType = "")
     {
         if (file == null) throw Oops.Oh(ErrorCodeEnum.D8000);
 
@@ -366,7 +367,7 @@ public class SysFileService : IDynamicApiController, ITransient
             SizeKb = sizeKb.ToString(),
             FilePath = path,
             FileMd5 = fileMd5,
-            FileType = filetype
+            FileType = fileType
         };
 
         var finalName = newFile.Id + suffix; // 文件最终名称

+ 1 - 1
Admin.NET/Admin.NET.Core/Util/SSHHelper.cs

@@ -187,7 +187,7 @@ namespace Admin.NET.Core
 
             if (sftp.Exists(dir)) return;
 
-            var index = dir.LastIndexOfAny(['/', '\\']);
+            var index = dir.LastIndexOfAny(new char[] { '/', '\\' });
             if (index > 0)
             {
                 var p = dir[..index];

+ 1 - 1
Admin.NET/Plugins/Admin.NET.Plugin.ReZero/Admin.NET.Plugin.ReZero.csproj

@@ -24,7 +24,7 @@
   </ItemGroup>
 
   <ItemGroup>
-    <PackageReference Include="Rezero.Api" Version="1.1.2" />
+    <PackageReference Include="Rezero.Api" Version="1.1.7" />
   </ItemGroup>  
 
   <ItemGroup>