我得免单订单状态
This commit is contained in:
@@ -33,6 +33,7 @@ public class CartConsumer {
|
||||
JSONObject jsonObject = JSON.parseObject(message);
|
||||
String tableId = jsonObject.getString("tableId");
|
||||
String shopId = jsonObject.getString("shopId");
|
||||
log.info("推送信息"+jsonObject.toJSONString());
|
||||
if (jsonObject.getString("type").equals("addcart") ) {
|
||||
if (!jsonObject.containsKey("num")) {
|
||||
throw new MsgException("商品数量错误");
|
||||
|
||||
Reference in New Issue
Block a user