From 05ec670446d8b27b60270a0f66edc42333d05466 Mon Sep 17 00:00:00 2001 From: yuanye <418471657@qq.com> Date: Wed, 29 May 2024 15:46:53 +0800 Subject: [PATCH] Changes --- .../main/java/com/bweb/controller/goods/GoodsController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {