修改界面,重构授权代码

This commit is contained in:
yubaolee
2016-10-17 00:20:55 +08:00
parent 43c44d30af
commit 36d77b17f6
21 changed files with 577 additions and 601 deletions

View File

@@ -14,10 +14,10 @@ namespace OpenAuth.UnitTest
[TestMethod]
public void TestMethod1()
{
AuthoriseService _service = new AuthoriseService(new UnitWork() );
_service.LoadAuthControls("System");
AuthoriseFactory factory = new AuthoriseFactory(new UnitWork() );
var service= factory.Create("System");
var orgs = _service.Orgs;
var orgs = service.Orgs;
}
}
}