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 @@ + + + + + + 图片管理