zw
lxw 6 months ago
parent 4997beda76
commit 7bf5befb50

@ -27,9 +27,9 @@ public class EquipInfoController
/// <returns>充电模式分页列表</returns>
[HttpPost]
[Route("/api/equipInfo/page")]
public async Task<PageResult<EquipInfo>> Page(PageEquipInfoReq input)
public async Task<Result<PageResult<EquipInfo>>> Page(PageEquipInfoReq input)
{
return await _equipInfoService.Page(input);
return Result<PageResult<EquipInfo>>.Success(await _equipInfoService.Page(input));
}
/// <summary>

@ -20,9 +20,9 @@ namespace WebStarter.Controllers.System
[HttpPost]
[Route("/api/sysConfig/page")]
public async Task<PageResult<SysConfig>> Page(PageConfigReq input)
public async Task<Result<PageResult<SysConfig>>> Page(PageConfigReq input)
{
return await _sysConfigService.Page(input);
return Result<PageResult<SysConfig>>.Success(await _sysConfigService.Page(input));
}
[HttpGet]

Loading…
Cancel
Save