From 1f085b9d32e2c75652f5db499bb5ec4d0c8c3661 Mon Sep 17 00:00:00 2001 From: yuanye <418471657@qq.com> Date: Fri, 27 Sep 2024 16:33:51 +0800 Subject: [PATCH] 1 --- .../java/com/hfkj/service/order/Impl/BsOrderServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/src/main/java/com/hfkj/service/order/Impl/BsOrderServiceImpl.java b/service/src/main/java/com/hfkj/service/order/Impl/BsOrderServiceImpl.java index 538eced..e269e8e 100644 --- a/service/src/main/java/com/hfkj/service/order/Impl/BsOrderServiceImpl.java +++ b/service/src/main/java/com/hfkj/service/order/Impl/BsOrderServiceImpl.java @@ -66,13 +66,13 @@ public class BsOrderServiceImpl implements BsOrderService { order.setUserPhone(body.getString("phone")); order.setUserId(body.getLong("userId")); - Map map = new HashMap<>(); + JSONObject map = new JSONObject(); map.put("orderNo", order.getOrderNo()); map.put("uid", order.getUserId()); map.put("searchId", body.getString("searchId")); map.put("goodsSign", body.getString("goodsSign")); map.put("url", body.getString("url")); - order.setCustomparameters(map.toString()); + order.setCustomparameters(map.toJSONString()); order.setGoodsName(body.getString("goodsName")); order.setType(body.getInteger("type")); order.setImg(body.getString("img"));