From e8d0641b252c7d6a71e52d9a84999222d29d1ebb Mon Sep 17 00:00:00 2001 From: Yueng <14617246+YuengMeYuuer@user.noreply.gitee.com> Date: Thu, 22 Aug 2024 22:12:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=82=E6=AD=A5=E8=B0=83=E7=94=A8=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E6=9C=8D=E5=8A=A1=E4=BF=AE=E6=94=B9Resource?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/muyu/common/log/service/AsyncLogService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/muyu/common/log/service/AsyncLogService.java b/src/main/java/com/muyu/common/log/service/AsyncLogService.java index 46e1cdf..ee9319b 100644 --- a/src/main/java/com/muyu/common/log/service/AsyncLogService.java +++ b/src/main/java/com/muyu/common/log/service/AsyncLogService.java @@ -7,6 +7,8 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.annotation.Async; import org.springframework.stereotype.Service; +import javax.annotation.Resource; + /** * 异步调用日志服务 * @@ -14,7 +16,7 @@ import org.springframework.stereotype.Service; */ @Service public class AsyncLogService { - @Autowired + @Resource private RemoteLogService remoteLogService; /**