Files
QYZH.InteractiveMagazine/QYZH.InteractiveMagazine.WebApi/Controllers/HealthController.cs

23 lines
477 B
C#
Raw Normal View History

2026-06-01 13:42:40 +08:00
using Microsoft.AspNetCore.Mvc;
using QYZH.InteractiveMagazine.Models.Dto;
namespace QYZH.InteractiveMagazine.WebApi.Controllers;
/// <summary>
/// 健康检查控制器
/// </summary>
[Route("api/[controller]")]
[ApiController]
public class HealthController : BaseController
{
/// <summary>
/// 健康检查
/// </summary>
/// <returns>pong</returns>
[HttpGet("ping")]
public BaseResponse<string> Ping()
{
return Success("pong");
}
}