增加数据存储redisBean
parent
200adcb3f9
commit
540796a23b
|
@ -11,6 +11,7 @@ import com.god.common.redis.service.RedisService;
|
|||
import com.god.common.security.utils.SecurityUtils;
|
||||
import lombok.extern.log4j.Log4j2;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
@ -34,6 +35,7 @@ public class CarFenceMonitor {
|
|||
@Autowired
|
||||
private RedisService redisService;
|
||||
|
||||
@Bean
|
||||
public void getCarFencesList(){
|
||||
log.info("开始获取车辆围栏信息");
|
||||
|
||||
|
|
Loading…
Reference in New Issue