From 0ef280ca1db4c8f280be5030ccfea35441ca1e51 Mon Sep 17 00:00:00 2001 From: 彭雪彬 <1724387007@qq.com> Date: Wed, 16 Jul 2025 11:24:29 +0800 Subject: [PATCH] 骑手同步数接口修改 --- 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