异步调用日志服务修改Resource

master
Yueng 2024-08-22 22:12:29 +08:00
parent a94793d259
commit e8d0641b25
1 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async; import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/** /**
* *
* *
@ -14,7 +16,7 @@ import org.springframework.stereotype.Service;
*/ */
@Service @Service
public class AsyncLogService { public class AsyncLogService {
@Autowired @Resource
private RemoteLogService remoteLogService; private RemoteLogService remoteLogService;
/** /**