fix swagger报错

This commit is contained in:
不做码农 2021-12-21 17:59:12 +08:00
parent f2c83958b4
commit bb28b456c9

View File

@ -46,6 +46,7 @@ namespace ZR.Admin.WebApi.Controllers
} }
[Route("/")] [Route("/")]
[HttpGet]
public IActionResult Index() public IActionResult Index()
{ {
return Content("Hello看到这里页面说明你已经成功启动了本项目加油吧 少年。"); return Content("Hello看到这里页面说明你已经成功启动了本项目加油吧 少年。");