1 Star 1 Fork 0

Paranoid/Easy.Blog

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
HelloWorldController.cs 677 Bytes
一键复制 编辑 原始数据 按行查看 历史
Paranoid 提交于 2021-04-20 18:05 +08:00 . swagger分组
using Easy.Blog.HelloWorld;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc;
using static Easy.Blog.BlogConsts;
namespace Easy.Blog.Controllers
{
[ApiController]
[Route("[controller]")]
[ApiExplorerSettings(GroupName = Grouping.GroupName_v3)]
public class HelloWorldController : AbpController
{
private readonly IHelloWorldService _helloWorldService;
public HelloWorldController(IHelloWorldService helloWorldService)
{
_helloWorldService = helloWorldService;
}
[HttpGet]
public string HelloWorld()
{
return _helloWorldService.SayHello();
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/coderlinkf/Easy.Blog.git
git@gitee.com:coderlinkf/Easy.Blog.git
coderlinkf
Easy.Blog
Easy.Blog
master

搜索帮助