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