---数据导入
parent
3918f44d0c
commit
6ed7a49fa4
|
|
@ -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;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 健康检查接口
|
||||
/// </summary>
|
||||
|
|
@ -18,5 +26,16 @@ namespace New_College.Controllers
|
|||
{
|
||||
return Ok();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public Task<bool> Post()
|
||||
{
|
||||
return t_EnrollmentPlane.Import();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -912,6 +912,12 @@
|
|||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:New_College.Controllers.HealthCheckController.Post">
|
||||
<summary>
|
||||
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="T:New_College.Controllers.ImgController">
|
||||
<summary>
|
||||
图片管理
|
||||
|
|
|
|||
Loading…
Reference in New Issue