多个引用导致json序列化错误
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.chaozhanggui.system.cashierservice.service;
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.date.DateUtil;
|
||||
import cn.hutool.core.thread.ThreadUtil;
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
@@ -371,7 +372,7 @@ public class CartService {
|
||||
data.put("msg", "成功");
|
||||
data.put("type", "addcart");
|
||||
data.put("data", jsonArray);
|
||||
data.put("seatFee", seatCost);
|
||||
data.put("seatFee", BeanUtil.copyProperties(seatCost, TbCashierCart.class));
|
||||
data.put("amount", amount);
|
||||
data.put("reqData", jsonObject);
|
||||
PushToAppChannelHandlerAdapter.getInstance().AppSendInfo(JSONObject.toJSONString(data), tableCartKey, "", false);
|
||||
|
||||
Reference in New Issue
Block a user