feat: 新增支持furion规范化接口格式

This commit is contained in:
橙子
2024-09-01 03:06:03 +08:00
parent 2e22f4ea67
commit 67c7ef37e6
13 changed files with 876 additions and 0 deletions

View File

@@ -39,6 +39,17 @@ namespace Yi.Abp.Application.Services
return name ?? "HelloWord";
}
/// <summary>
/// 异常处理
/// </summary>
/// <returns></returns>
[HttpGet("error")]
public string GetError()
{
throw new UserFriendlyException("业务异常");
throw new Exception("系统异常");
}
/// <summary>
/// SqlSugar
/// </summary>