From bb28b456c9ca64a80ec597034acc3d432fe352c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Tue, 21 Dec 2021 17:59:12 +0800 Subject: [PATCH] =?UTF-8?q?fix=20swagger=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ZR.Admin.WebApi/Controllers/CommonController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ZR.Admin.WebApi/Controllers/CommonController.cs b/ZR.Admin.WebApi/Controllers/CommonController.cs index b2b940f..49f68a9 100644 --- a/ZR.Admin.WebApi/Controllers/CommonController.cs +++ b/ZR.Admin.WebApi/Controllers/CommonController.cs @@ -46,6 +46,7 @@ namespace ZR.Admin.WebApi.Controllers } [Route("/")] + [HttpGet] public IActionResult Index() { return Content("Hello看到这里页面说明你已经成功启动了本项目,加油吧 少年。");