feat: 新增支持furion规范化接口格式
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user