From 5e449c8bba2273313fd25457cae653a0f340c910 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期一, 20 十一月 2023 18:26:32 +0800 Subject: [PATCH] 错误日志修复 --- Source/UBCS/ubcs-ops/ubcs-log/src/main/java/com/vci/ubcs/log/controller/LogSystemController.java | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Source/UBCS/ubcs-ops/ubcs-log/src/main/java/com/vci/ubcs/core/log/controller/LogSystemController.java b/Source/UBCS/ubcs-ops/ubcs-log/src/main/java/com/vci/ubcs/log/controller/LogSystemController.java similarity index 76% rename from Source/UBCS/ubcs-ops/ubcs-log/src/main/java/com/vci/ubcs/core/log/controller/LogSystemController.java rename to Source/UBCS/ubcs-ops/ubcs-log/src/main/java/com/vci/ubcs/log/controller/LogSystemController.java index e4e5ddc..49c0e57 100644 --- a/Source/UBCS/ubcs-ops/ubcs-log/src/main/java/com/vci/ubcs/core/log/controller/LogSystemController.java +++ b/Source/UBCS/ubcs-ops/ubcs-log/src/main/java/com/vci/ubcs/log/controller/LogSystemController.java @@ -1,11 +1,11 @@ -package com.vci.ubcs.core.log.controller; +package com.vci.ubcs.log.controller; -import com.vci.ubcs.core.log.service.ILogSystemService; +import com.vci.ubcs.log.service.ILogErrorService; +import com.vci.ubcs.log.service.ILogSystemService; import com.vci.ubcs.log.entity.SystemLog; import lombok.AllArgsConstructor; import org.springblade.core.tenant.annotation.NonDS; import org.springblade.core.tool.api.R; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; @@ -20,12 +20,11 @@ */ @NonDS @RestController -//@AllArgsConstructor +@AllArgsConstructor @RequestMapping("/systemLog") public class LogSystemController { - @Autowired - private ILogSystemService logSystemService; + private final ILogSystemService logSystemService; @GetMapping("/lazy-list") private R<List<SystemLog>> getSystemLogList(@RequestParam String serviceName){ -- Gitblit v1.9.3