fix swagger报错

This commit is contained in:
不做码农
2021-12-21 18:10:31 +08:00
parent f2c83958b4
commit 73d62e56a2
3 changed files with 3 additions and 6 deletions
@@ -46,6 +46,7 @@ namespace ZR.Admin.WebApi.Controllers
}
[Route("/")]
[HttpGet]
public IActionResult Index()
{
return Content("Hello看到这里页面说明你已经成功启动了本项目,加油吧 少年。");