异步调用日志服务修改Resource
parent
a94793d259
commit
e8d0641b25
|
@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue