mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-21 02:57:54 +08:00
🔄refactor: 统一返回给前端的数据结构
This commit is contained in:
@@ -70,13 +70,13 @@ namespace OpenAuth.App
|
||||
/// <summary>
|
||||
/// 加载当前节点的加签人
|
||||
/// </summary>
|
||||
public async Task<TableResp<FlowApprover>> Load(QueryApproverReq request)
|
||||
public async Task<PagedListDataResp<FlowApprover>> Load(QueryApproverReq request)
|
||||
{
|
||||
var objs = await Repository.GetListAsync(u =>
|
||||
u.InstanceId == request.FlowInstanceId && u.ActivityId == request.ActivityId);
|
||||
return new TableResp<FlowApprover>()
|
||||
return new PagedListDataResp<FlowApprover>()
|
||||
{
|
||||
data = objs
|
||||
Data = objs
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user