调整组织类[Org]为[SysOrg]防止命名空间冲突

This commit is contained in:
yubaolee
2022-01-21 17:31:34 +08:00
parent 73b2e2aa08
commit 3f077f5d80
14 changed files with 43 additions and 43 deletions

View File

@@ -35,7 +35,7 @@ namespace OpenAuth.App.Test
Console.WriteLine(orgname);
var app = _autofacServiceProvider.GetService<OrgManagerApp>();
var id = app.Add(new Org
var id = app.Add(new SysOrg
{
Name = orgname,
ParentId = ""
@@ -63,7 +63,7 @@ namespace OpenAuth.App.Test
Console.WriteLine(orgname);
var app = _autofacServiceProvider.GetService<OrgManagerApp>();
var id = app.Update(new Org
var id = app.Update(new SysOrg
{
Id="543a9fcf-4770-4fd9-865f-030e562be238",
Name = orgname,