完成用户管理,layui弹出有问题

This commit is contained in:
yubaolee
2017-09-06 17:32:35 +08:00
parent 184e2f6bb7
commit 068e6f600f
21 changed files with 18622 additions and 125 deletions

View File

@@ -22,7 +22,7 @@ namespace OpenAuth.Mvc.Controllers
//添加或修改组织
[HttpPost]
public string Add(UserView view)
public string AddOrUpdate(UserView view)
{
try
{
@@ -40,9 +40,9 @@ namespace OpenAuth.Mvc.Controllers
/// <summary>
/// 加载组织下面的所有用户
/// </summary>
public string Load(Guid orgId, int page = 1, int rows = 30)
public string Load(Guid orgId, int page = 1, int limit = 30)
{
return JsonHelper.Instance.Serialize(App.Load(orgId, page, rows));
return JsonHelper.Instance.Serialize(App.Load(orgId, page, limit));
}
[HttpPost]