From 6ed7a49fa49e0c404d1ef4565a18eb86ba1aa946 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=93=E5=A4=A7=E5=B8=88?= <156663459@qq.com> Date: Mon, 28 Jun 2021 22:25:19 +0800 Subject: [PATCH] =?UTF-8?q?---=E6=95=B0=E6=8D=AE=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/HealthCheckController.cs | 19 +++++++++++++++++++ New_College.Api/New_College.xml | 6 ++++++ 2 files changed, 25 insertions(+) diff --git a/New_College.Api/Controllers/HealthCheckController.cs b/New_College.Api/Controllers/HealthCheckController.cs index 8d4fc3a..cd702e8 100644 --- a/New_College.Api/Controllers/HealthCheckController.cs +++ b/New_College.Api/Controllers/HealthCheckController.cs @@ -1,4 +1,6 @@ using Microsoft.AspNetCore.Mvc; +using New_College.IServices; +using System.Threading.Tasks; namespace New_College.Controllers { @@ -9,6 +11,12 @@ namespace New_College.Controllers [ApiController] public class HealthCheckController : ControllerBase { + private readonly IT_EnrollmentPlaneServices t_EnrollmentPlane; + public HealthCheckController(IT_EnrollmentPlaneServices t_EnrollmentPlaneServices) + { + t_EnrollmentPlane = t_EnrollmentPlaneServices; + } + /// /// 健康检查接口 /// @@ -18,5 +26,16 @@ namespace New_College.Controllers { return Ok(); } + + /// + /// + /// + /// + [HttpPost] + public Task Post() + { + return t_EnrollmentPlane.Import(); + } + } } \ No newline at end of file diff --git a/New_College.Api/New_College.xml b/New_College.Api/New_College.xml index 0ed79ef..dd6de14 100644 --- a/New_College.Api/New_College.xml +++ b/New_College.Api/New_College.xml @@ -912,6 +912,12 @@ + + + + + + 图片管理