sync with OpenAuth.Core

This commit is contained in:
yubaolee
2020-12-20 23:14:09 +08:00
parent 7217e7a924
commit 7540baa322
25 changed files with 347 additions and 169 deletions

View File

@@ -1,4 +1,5 @@
using System;
using System.Threading.Tasks;
using Infrastructure;
using Microsoft.AspNetCore.Mvc;
using OpenAuth.App;
@@ -60,9 +61,10 @@ namespace OpenAuth.Mvc.Controllers
/// <summary>
/// 加载列表
/// </summary>
public string Load([FromQuery]QuerySysMessageListReq request)
public async Task<string> Load([FromQuery]QuerySysMessageListReq request)
{
return JsonHelper.Instance.Serialize(_app.Load(request));
var objs = await _app.Load(request);
return JsonHelper.Instance.Serialize(objs);
}
[HttpPost]