From 7bf5befb504701ff8115d4642bd1d52e109b894d Mon Sep 17 00:00:00 2001 From: lxw Date: Fri, 7 Jun 2024 18:39:39 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebStarter/Controllers/Station/EquipInfoController.cs | 4 ++-- WebStarter/Controllers/System/SysConfigController.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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]