diff --git a/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/TplIService.txt b/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/TplIService.txt index a481b64..8c0333e 100644 --- a/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/TplIService.txt +++ b/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/TplIService.txt @@ -1,8 +1,6 @@ -using System; -using ${options.BaseNamespace}Model; +using ${options.BaseNamespace}Model; using ${options.DtosNamespace}; using ${options.ModelsNamespace}.${options.SubNamespace}; -using System.Collections.Generic; namespace ${options.IServicsNamespace}.${options.SubNamespace}.I${options.SubNamespace}Service { diff --git a/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/TplService.txt b/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/TplService.txt index 9c48c1d..523bf05 100644 --- a/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/TplService.txt +++ b/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/TplService.txt @@ -1,6 +1,4 @@ -using System; -using SqlSugar; -using Infrastructure.Attribute; +using Infrastructure.Attribute; using Infrastructure.Extensions; using ${options.BaseNamespace}Model; using ${options.DtosNamespace}; diff --git a/ZR.Service/GlobalUsing.cs b/ZR.Service/GlobalUsing.cs index 9845705..6c79c0d 100644 --- a/ZR.Service/GlobalUsing.cs +++ b/ZR.Service/GlobalUsing.cs @@ -1,4 +1,5 @@ global using System.Collections.Generic; global using System; global using SqlSugar; -global using Newtonsoft.Json; \ No newline at end of file +global using Newtonsoft.Json; +global using ZR.ServiceCore; \ No newline at end of file diff --git a/ZR.Service/HelloService.cs b/ZR.Service/HelloService.cs index 1c45ec4..53a7c34 100644 --- a/ZR.Service/HelloService.cs +++ b/ZR.Service/HelloService.cs @@ -4,7 +4,6 @@ using SqlSugar.IOC; using ZR.Model.System; using ZR.Repository; using ZR.Service.IService; -using ZR.ServiceCore; using ZR.ServiceCore.Services; namespace ZR.Service diff --git a/ZR.Service/IService/IHelloService.cs b/ZR.Service/IService/IHelloService.cs index 14ec5cb..5bb9391 100644 --- a/ZR.Service/IService/IHelloService.cs +++ b/ZR.Service/IService/IHelloService.cs @@ -1,5 +1,4 @@ using ZR.Model.System; -using ZR.ServiceCore; namespace ZR.Service.IService {