就餐模式获取修改
This commit is contained in:
@@ -56,9 +56,7 @@ public class PushToAppChannelHandlerAdapter extends NettyChannelHandlerAdapter {
|
||||
//注入为空
|
||||
public static RabbitProducer rabbitProducer;
|
||||
|
||||
@Autowired
|
||||
@Lazy
|
||||
private ShopUtils shopUtils;
|
||||
private ShopUtils shopUtils = SpringUtils.getBean(ShopUtils.class);
|
||||
|
||||
@PostConstruct
|
||||
public void b() {
|
||||
@@ -144,7 +142,6 @@ public class PushToAppChannelHandlerAdapter extends NettyChannelHandlerAdapter {
|
||||
return;
|
||||
}
|
||||
|
||||
log.info("信息: {}", shopUtils);
|
||||
ShopEatTypeInfoDTO eatModel = shopUtils.getEatModel(tableId, shopId);
|
||||
String tableCartKey = RedisCst.getTableCartKey(shopId, eatModel.isOpenTakeout() ? tableId : null, Integer.valueOf(userId));
|
||||
log.info("netty连接 接收到数据 建立连接参数 key: {} param:{}", tableCartKey, jsonObject);
|
||||
|
||||
Reference in New Issue
Block a user