check bugs

This commit is contained in:
yubaolee@163.com
2018-04-13 16:18:30 +08:00
parent 785cfcc533
commit 9e7e8f82ae
10 changed files with 96 additions and 184 deletions

View File

@@ -105,6 +105,8 @@
<Compile Include="AutofacExt.cs" />
<Compile Include="BaseApp.cs" />
<Compile Include="AuthorizeApp.cs" />
<Compile Include="Request\QueryAppListReq.cs" />
<Compile Include="AppManager.cs" />
<Compile Include="ResourceApp.cs" />
<Compile Include="CategoryApp.cs" />
<Compile Include="Define.cs" />

View File

@@ -33,7 +33,7 @@ namespace OpenAuth.App
}
public TableData All(QueryResourcesReq request)
public TableData Load(QueryResourcesReq request)
{
var result = new TableData();
var resources = UnitWork.Find<Resource>(null) ;

View File

@@ -1,23 +1,23 @@
// ***********************************************************************
// Assembly : FundationAdmin
// Author : yubaolee
// Created : 03-09-2016
//
// Last Modified By : yubaolee
// Last Modified On : 03-09-2016
// ***********************************************************************
// <copyright file="TableData.cs" company="Microsoft">
// 版权所有(C) Microsoft 2015
// </copyright>
// <summary>layui datatable数据返回</summary>
// ***********************************************************************
namespace OpenAuth.App.Response
{
/// <summary>
/// table的返回数据
/// </summary>
public class TableData
// ***********************************************************************
// Assembly : FundationAdmin
// Author : yubaolee
// Created : 03-09-2016
//
// Last Modified By : yubaolee
// Last Modified On : 03-09-2016
// ***********************************************************************
// <copyright file="TableData.cs" company="Microsoft">
// 版权所有(C) Microsoft 2015
// </copyright>
// <summary>layui datatable数据返回</summary>
// ***********************************************************************
namespace OpenAuth.App.Response
{
/// <summary>
/// table的返回数据
/// </summary>
public class TableData
{
/// <summary>
/// 状态码
@@ -26,16 +26,16 @@ namespace OpenAuth.App.Response
/// <summary>
/// 操作消息
/// </summary>
public string msg;
/// <summary>
/// 总记录条数
/// </summary>
public int count;
/// <summary>
/// 数据内容
/// </summary>
public dynamic data;
}
public string msg;
/// <summary>
/// 总记录条数
/// </summary>
public int count;
/// <summary>
/// 数据内容
/// </summary>
public dynamic data;
}
}