From a8dbb79f6d205228ed77f39091c8e9b223d96bd2 Mon Sep 17 00:00:00 2001 From: tongfei <244188119@qq.com> Date: Wed, 18 Oct 2023 13:41:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=83=E8=B7=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/HeartController.cs | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/WMS.Web.Api/Controllers/HeartController.cs diff --git a/src/WMS.Web.Api/Controllers/HeartController.cs b/src/WMS.Web.Api/Controllers/HeartController.cs new file mode 100644 index 00000000..99a121ff --- /dev/null +++ b/src/WMS.Web.Api/Controllers/HeartController.cs @@ -0,0 +1,20 @@ +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace WMS.Web.Api.Controllers +{ + [Route("api/[controller]")] + [ApiController] + public class HeartController : ControllerBase + { + [HttpGet] + public Task Heart() + { + return Task.FromResult("Success"); + } + } +}