zuohuaijun 2 роки тому
батько
коміт
b5ef74dcb2

+ 9 - 1
Admin.NET/Admin.NET.Application/GlobalUsings.cs

@@ -8,4 +8,12 @@
 // 在任何情况下,作者或版权持有人均不对任何索赔、损害或其他责任负责,无论是因合同、侵权或其他方式引起的,与软件或其使用或其他交易有关。
 
 global using Furion;
-global using Microsoft.Extensions.DependencyInjection;
+global using Furion.DynamicApiController;
+global using Mapster;
+global using Microsoft.AspNetCore.Mvc;
+global using Microsoft.Extensions.DependencyInjection;
+global using SqlSugar;
+global using System;
+global using System.ComponentModel;
+global using System.ComponentModel.DataAnnotations;
+global using System.Threading.Tasks;

+ 1 - 1
Admin.NET/Admin.NET.Core/Service/DataBase/SysDatabaseService.cs

@@ -197,7 +197,7 @@ public class SysDatabaseService : IDynamicApiController, ITransient
         }
         catch (NotSupportedException)
         {
-            //Ignore 不支持该方法则不处理 
+            //Ignore 不支持该方法则不处理
         }
         db.DbMaintenance.AddTableRemark(input.TableName, input.Description);
     }

+ 0 - 3
Admin.NET/Admin.NET.Core/Service/Logging/Dto/ExportLogDto.cs

@@ -7,9 +7,6 @@
 // 软件按“原样”提供,不提供任何形式的明示或暗示的保证,包括但不限于对适销性、适用性和非侵权的保证。
 // 在任何情况下,作者或版权持有人均不对任何索赔、损害或其他责任负责,无论是因合同、侵权或其他方式引起的,与软件或其使用或其他交易有关。
 
-using Magicodes.ExporterAndImporter.Core;
-using Magicodes.ExporterAndImporter.Excel;
-
 namespace Admin.NET.Core;
 
 /// <summary>

+ 0 - 2
Admin.NET/Admin.NET.Core/Service/Logging/SysLogExService.cs

@@ -7,8 +7,6 @@
 // 软件按“原样”提供,不提供任何形式的明示或暗示的保证,包括但不限于对适销性、适用性和非侵权的保证。
 // 在任何情况下,作者或版权持有人均不对任何索赔、损害或其他责任负责,无论是因合同、侵权或其他方式引起的,与软件或其使用或其他交易有关。
 
-using Magicodes.ExporterAndImporter.Excel;
-
 namespace Admin.NET.Core.Service;
 
 /// <summary>

+ 0 - 2
Admin.NET/Admin.NET.Core/Service/Logging/SysLogOpService.cs

@@ -7,8 +7,6 @@
 // 软件按“原样”提供,不提供任何形式的明示或暗示的保证,包括但不限于对适销性、适用性和非侵权的保证。
 // 在任何情况下,作者或版权持有人均不对任何索赔、损害或其他责任负责,无论是因合同、侵权或其他方式引起的,与软件或其使用或其他交易有关。
 
-using Magicodes.ExporterAndImporter.Excel;
-
 namespace Admin.NET.Core.Service;
 
 /// <summary>

+ 0 - 1
Admin.NET/Admin.NET.Core/Service/Server/SysServerService.cs

@@ -11,7 +11,6 @@ using AngleSharp.Html.Parser;
 using AspNetCoreRateLimit;
 using FluentEmail.Core;
 using Lazy.Captcha.Core;
-using Magicodes.ExporterAndImporter.Excel;
 using Magicodes.ExporterAndImporter.Pdf;
 using Microsoft.Extensions.Hosting;
 using Nest;