mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-03-31 05:33:24 +08:00
同步OpenAuth.Core最新代码
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using OpenAuth.App;
|
||||
using OpenAuth.App.Request;
|
||||
using OpenAuth.App.Response;
|
||||
@@ -23,9 +24,9 @@ namespace OpenAuth.WebApi.Controllers
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
public TableData Load([FromQuery]QueryAppListReq request)
|
||||
public async Task<TableData> Load([FromQuery]QueryAppListReq request)
|
||||
{
|
||||
var applications = _app.GetList(request);
|
||||
var applications =await _app.GetList(request);
|
||||
return new TableData
|
||||
{
|
||||
data = applications,
|
||||
|
||||
Reference in New Issue
Block a user