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