diff --git a/bweb/src/main/java/com/bweb/controller/goods/GoodsController.java b/bweb/src/main/java/com/bweb/controller/goods/GoodsController.java index b68e637..a13e50f 100644 --- a/bweb/src/main/java/com/bweb/controller/goods/GoodsController.java +++ b/bweb/src/main/java/com/bweb/controller/goods/GoodsController.java @@ -119,7 +119,7 @@ public class GoodsController { goodsMsg.setListImg(body.getListImg()); goodsMsg.setBannerImg(body.getBannerImg()); goodsMsg.setDetailImg(body.getDetailImg()); - goodsMsg.setMerId(userModel.getAccount().getId()); + goodsMsg.setMerId(userModel.getAccount().getObjectId()); goodsMsg.setMerName(userModel.getAccount().getUserName()); if (body.getId() != null) {