master
lxw 5 months ago
parent 4997beda76
commit 7bf5befb50

@ -27,9 +27,9 @@ public class EquipInfoController
/// <returns>充电模式分页列表</returns> /// <returns>充电模式分页列表</returns>
[HttpPost] [HttpPost]
[Route("/api/equipInfo/page")] [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> /// <summary>

@ -20,9 +20,9 @@ namespace WebStarter.Controllers.System
[HttpPost] [HttpPost]
[Route("/api/sysConfig/page")] [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] [HttpGet]

Loading…
Cancel
Save