From 6a7e27c57a2f4728ee5984f9b8c04011d32eac1d Mon Sep 17 00:00:00 2001 From: SummmerLost <1449109960@qq.com> Date: Fri, 11 Nov 2022 11:55:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=E4=BA=86=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PEIS.Cloud/Controllers/SampleController.cs | 14 ++++++++++++++ {PEIS.Interface => PEIS.Cloud}/Program.cs | 0 .../Properties/launchSettings.json | 0 {PEIS.Interface => PEIS.Cloud}/Startup.cs | 0 .../appsettings.Development.json | 0 {PEIS.Interface => PEIS.Cloud}/appsettings.json | 0 PEIS.Interface/Controllers/SampleController.cs | 11 ----------- {PEIS.EF => PEIS.Service}/Domain/SampleDomain.cs | 0 .../IService/ISampleService.cs | 0 {PEIS.EF => PEIS.Service}/Service/SampleService.cs | 0 10 files changed, 14 insertions(+), 11 deletions(-) create mode 100644 PEIS.Cloud/Controllers/SampleController.cs rename {PEIS.Interface => PEIS.Cloud}/Program.cs (100%) rename {PEIS.Interface => PEIS.Cloud}/Properties/launchSettings.json (100%) rename {PEIS.Interface => PEIS.Cloud}/Startup.cs (100%) rename {PEIS.Interface => PEIS.Cloud}/appsettings.Development.json (100%) rename {PEIS.Interface => PEIS.Cloud}/appsettings.json (100%) delete mode 100644 PEIS.Interface/Controllers/SampleController.cs rename {PEIS.EF => PEIS.Service}/Domain/SampleDomain.cs (100%) rename {PEIS.EF => PEIS.Service}/IService/ISampleService.cs (100%) rename {PEIS.EF => PEIS.Service}/Service/SampleService.cs (100%) diff --git a/PEIS.Cloud/Controllers/SampleController.cs b/PEIS.Cloud/Controllers/SampleController.cs new file mode 100644 index 0000000..d8fd7f2 --- /dev/null +++ b/PEIS.Cloud/Controllers/SampleController.cs @@ -0,0 +1,14 @@ +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; + +namespace PEIS.Cloud.Controllers +{ + /// + /// 实例接口文件 在这里写相关的接口返回,不同业务用不同文件夹区分(git不允许提交空文件夹,所以建了文件夹需要在下面新建文件) + /// + [Route("api/[controller]")] + [ApiController] + public class SampleController : ControllerBase + { + } +} diff --git a/PEIS.Interface/Program.cs b/PEIS.Cloud/Program.cs similarity index 100% rename from PEIS.Interface/Program.cs rename to PEIS.Cloud/Program.cs diff --git a/PEIS.Interface/Properties/launchSettings.json b/PEIS.Cloud/Properties/launchSettings.json similarity index 100% rename from PEIS.Interface/Properties/launchSettings.json rename to PEIS.Cloud/Properties/launchSettings.json diff --git a/PEIS.Interface/Startup.cs b/PEIS.Cloud/Startup.cs similarity index 100% rename from PEIS.Interface/Startup.cs rename to PEIS.Cloud/Startup.cs diff --git a/PEIS.Interface/appsettings.Development.json b/PEIS.Cloud/appsettings.Development.json similarity index 100% rename from PEIS.Interface/appsettings.Development.json rename to PEIS.Cloud/appsettings.Development.json diff --git a/PEIS.Interface/appsettings.json b/PEIS.Cloud/appsettings.json similarity index 100% rename from PEIS.Interface/appsettings.json rename to PEIS.Cloud/appsettings.json diff --git a/PEIS.Interface/Controllers/SampleController.cs b/PEIS.Interface/Controllers/SampleController.cs deleted file mode 100644 index c09eba9..0000000 --- a/PEIS.Interface/Controllers/SampleController.cs +++ /dev/null @@ -1,11 +0,0 @@ -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Mvc; - -namespace PEIS.Cloud.Controllers -{ - [Route("api/[controller]")] - [ApiController] - public class SampleController : ControllerBase - { - } -} diff --git a/PEIS.EF/Domain/SampleDomain.cs b/PEIS.Service/Domain/SampleDomain.cs similarity index 100% rename from PEIS.EF/Domain/SampleDomain.cs rename to PEIS.Service/Domain/SampleDomain.cs diff --git a/PEIS.EF/IService/ISampleService.cs b/PEIS.Service/IService/ISampleService.cs similarity index 100% rename from PEIS.EF/IService/ISampleService.cs rename to PEIS.Service/IService/ISampleService.cs diff --git a/PEIS.EF/Service/SampleService.cs b/PEIS.Service/Service/SampleService.cs similarity index 100% rename from PEIS.EF/Service/SampleService.cs rename to PEIS.Service/Service/SampleService.cs