就餐模式获取修改

This commit is contained in:
2024-09-29 14:08:50 +08:00
parent acd82a5c54
commit c2d4c9fdcc

View File

@@ -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