From 77bc846ff1fac24b3876d36ffed92b6e00d63f1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com>
Date: Sun, 5 Dec 2021 08:44:20 +0800
Subject: [PATCH] fix bug
---
.../Controllers/System/SysConfigController.cs | 2 --
ZR.Model/System/Dto/SysConfigDto.cs | 3 ---
ZR.Repository/System/SysConfigRepository.cs | 2 --
ZR.Service/Business/GendemoService.cs | 27 -------------------
.../System/IService/ISysConfigService.cs | 1 -
5 files changed, 35 deletions(-)
delete mode 100644 ZR.Service/Business/GendemoService.cs
diff --git a/ZR.Admin.WebApi/Controllers/System/SysConfigController.cs b/ZR.Admin.WebApi/Controllers/System/SysConfigController.cs
index ab38e5c..5e47b9d 100644
--- a/ZR.Admin.WebApi/Controllers/System/SysConfigController.cs
+++ b/ZR.Admin.WebApi/Controllers/System/SysConfigController.cs
@@ -9,8 +9,6 @@ using Infrastructure.Enums;
using Infrastructure.Model;
using Mapster;
using ZR.Model.Dto;
-using ZR.Model.Models;
-using ZR.Service.Business;
using ZR.Admin.WebApi.Extensions;
using ZR.Admin.WebApi.Filters;
using ZR.Common;
diff --git a/ZR.Model/System/Dto/SysConfigDto.cs b/ZR.Model/System/Dto/SysConfigDto.cs
index bbacdea..6547982 100644
--- a/ZR.Model/System/Dto/SysConfigDto.cs
+++ b/ZR.Model/System/Dto/SysConfigDto.cs
@@ -1,7 +1,4 @@
using System;
-using System.Collections.Generic;
-using ZR.Model.Dto;
-using ZR.Model.Models;
namespace ZR.Model.Dto
{
diff --git a/ZR.Repository/System/SysConfigRepository.cs b/ZR.Repository/System/SysConfigRepository.cs
index 4f391e0..63ae19b 100644
--- a/ZR.Repository/System/SysConfigRepository.cs
+++ b/ZR.Repository/System/SysConfigRepository.cs
@@ -1,7 +1,5 @@
using System;
using Infrastructure.Attribute;
-using ZR.Repository.System;
-using ZR.Model.Models;
using ZR.Model.System;
namespace ZR.Repository
diff --git a/ZR.Service/Business/GendemoService.cs b/ZR.Service/Business/GendemoService.cs
deleted file mode 100644
index e5a2001..0000000
--- a/ZR.Service/Business/GendemoService.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using Infrastructure;
-using Infrastructure.Attribute;
-using ZR.Model.Models;
-using ZR.Repository;
-
-namespace ZR.Service.Business
-{
- ///
- /// 代码生成演示Service业务层处理
- ///
- /// @author zr
- /// @date 2021-12-01
- ///
- [AppService(ServiceType = typeof(IGendemoService), ServiceLifetime = LifeTime.Transient)]
- public class GendemoService : BaseService, IGendemoService
- {
- private readonly GendemoRepository _Gendemorepository;
- public GendemoService(GendemoRepository repository) : base(repository)
- {
- _Gendemorepository = repository;
- }
-
- #region 业务逻辑代码
-
- #endregion
- }
-}
\ No newline at end of file
diff --git a/ZR.Service/System/IService/ISysConfigService.cs b/ZR.Service/System/IService/ISysConfigService.cs
index a8c68f8..d103154 100644
--- a/ZR.Service/System/IService/ISysConfigService.cs
+++ b/ZR.Service/System/IService/ISysConfigService.cs
@@ -1,5 +1,4 @@
using System;
-using ZR.Model.Models;
using ZR.Model.System;
namespace ZR.Service.System