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