From f6239d1029da4c51ba3b2cec790f7399a210a3df Mon Sep 17 00:00:00 2001 From: zepengdev <lzpsmith@outlook.com> Date: Sat, 19 Jul 2025 16:13:27 +0800 Subject: [PATCH] feat: 优化商品和店铺 --- oying-system/src/main/java/com/oying/modules/system/rest/MonitorController.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/oying-system/src/main/java/com/oying/modules/system/rest/MonitorController.java b/oying-system/src/main/java/com/oying/modules/system/rest/MonitorController.java index 27eaf86..f780bc1 100644 --- a/oying-system/src/main/java/com/oying/modules/system/rest/MonitorController.java +++ b/oying-system/src/main/java/com/oying/modules/system/rest/MonitorController.java @@ -1,5 +1,6 @@ package com.oying.modules.system.rest; +import com.oying.utils.R; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.RequiredArgsConstructor; @@ -25,6 +26,6 @@ @ApiOperation("查询服务监控") @PreAuthorize("@el.check('monitor:list')") public ResponseEntity<Object> queryMonitor(){ - return new ResponseEntity<>(serverService.getServers(),HttpStatus.OK); + return new ResponseEntity<>(R.success(serverService.getServers()),HttpStatus.OK); } } -- Gitblit v1.9.3