修复单元测试异常

This commit is contained in:
ÂëÉñ
2021-01-09 19:59:01 +08:00
committed by yubaolee
parent 5f8ef13037
commit 1228c6e875
4 changed files with 27 additions and 13 deletions

View File

@@ -15,6 +15,9 @@ namespace OpenAuth.WebApi.Controllers
{
private readonly OrgManagerApp _app;
/// <summary>
/// 获取机构详情
/// </summary>
[HttpGet]
public Response<Org> Get(string id)
{
@@ -32,7 +35,12 @@ namespace OpenAuth.WebApi.Controllers
return result;
}
//添加或修改
/// <summary>
/// 新增机构
/// <para>如果ID为空会自动创建ID会自动为当前登录用户分配添加的机构</para>
/// </summary>
/// <param name="obj"></param>
/// <returns></returns>
[HttpPost]
public Response<Org> Add(Org obj)
{