using Microsoft.AspNetCore.Mvc; using New_College.Common.Helper; using New_College.IServices; using System.Threading.Tasks; namespace New_College.Controllers { /// /// 健康检查 /// [Route("[controller]")] [ApiController] public class HealthCheckController : ControllerBase { private readonly IT_EnrollmentPlaneServices t_EnrollmentPlane; public HealthCheckController(IT_EnrollmentPlaneServices t_EnrollmentPlaneServices) { t_EnrollmentPlane = t_EnrollmentPlaneServices; } /// /// 健康检查接口 /// /// [HttpGet] public IActionResult Get() { return Ok(); } /// /// /// /// [HttpPost] public Task Post() { // return t_EnrollmentPlane.Import(); // return t_EnrollmentPlane.Importuniverbaseinfo(); // return t_EnrollmentPlane.universitydetailupdate(); //return t_EnrollmentPlane.tradeupadte(); // return t_EnrollmentPlane.categoryupdate(); return t_EnrollmentPlane.ClassChildItems(); } } }