diff --git a/WebStarter/Controllers/Station/EquipInfoController.cs b/WebStarter/Controllers/Station/EquipInfoController.cs index 5776b8f..b9272fc 100644 --- a/WebStarter/Controllers/Station/EquipInfoController.cs +++ b/WebStarter/Controllers/Station/EquipInfoController.cs @@ -27,9 +27,9 @@ public class EquipInfoController /// 充电模式分页列表 [HttpPost] [Route("/api/equipInfo/page")] - public async Task> Page(PageEquipInfoReq input) + public async Task>> Page(PageEquipInfoReq input) { - return await _equipInfoService.Page(input); + return Result>.Success(await _equipInfoService.Page(input)); } /// diff --git a/WebStarter/Controllers/System/SysConfigController.cs b/WebStarter/Controllers/System/SysConfigController.cs index 4151ebc..ebe24c2 100644 --- a/WebStarter/Controllers/System/SysConfigController.cs +++ b/WebStarter/Controllers/System/SysConfigController.cs @@ -20,9 +20,9 @@ namespace WebStarter.Controllers.System [HttpPost] [Route("/api/sysConfig/page")] - public async Task> Page(PageConfigReq input) + public async Task>> Page(PageConfigReq input) { - return await _sysConfigService.Page(input); + return Result>.Success(await _sysConfigService.Page(input)); } [HttpGet]