就餐模式获取修改
This commit is contained in:
@@ -20,6 +20,7 @@ import io.netty.handler.timeout.IdleStateEvent;
|
|||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.context.annotation.Lazy;
|
||||||
import org.springframework.scheduling.annotation.Async;
|
import org.springframework.scheduling.annotation.Async;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@@ -54,7 +55,9 @@ public class PushToAppChannelHandlerAdapter extends NettyChannelHandlerAdapter {
|
|||||||
private RabbitProducer a;
|
private RabbitProducer a;
|
||||||
//注入为空
|
//注入为空
|
||||||
public static RabbitProducer rabbitProducer;
|
public static RabbitProducer rabbitProducer;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@Lazy
|
||||||
private ShopUtils shopUtils;
|
private ShopUtils shopUtils;
|
||||||
|
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
|
|||||||
Reference in New Issue
Block a user