From 4b1cb74450d178af66b3f87073edb441f6fbc103 Mon Sep 17 00:00:00 2001
From: zepengdev <lzpsmith@outlook.com>
Date: Thu, 26 Jun 2025 22:37:43 +0800
Subject: [PATCH] fix: 分页查询的商品信息包含图片和标签信息

---
 oying-system/src/main/java/com/oying/modules/pc/category/converter/PlatformCategoryViewAssembler.java |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/oying-system/src/main/java/com/oying/modules/pc/category/converter/PlatformCategoryViewAssembler.java b/oying-system/src/main/java/com/oying/modules/pc/category/converter/PlatformCategoryViewAssembler.java
index 8b70f78..123cde5 100644
--- a/oying-system/src/main/java/com/oying/modules/pc/category/converter/PlatformCategoryViewAssembler.java
+++ b/oying-system/src/main/java/com/oying/modules/pc/category/converter/PlatformCategoryViewAssembler.java
@@ -3,23 +3,21 @@
 import cn.hutool.core.bean.BeanUtil;
 import com.oying.modules.pc.category.domain.PlatformCategory;
 import com.oying.modules.pc.category.view.PlatformCategoryCustomerView;
-import com.oying.modules.pc.category.view.PlatformCategoryView;
+import com.oying.modules.pc.category.view.PlatformCategoryAdminView;
 import org.springframework.stereotype.Component;
 
 @Component
 public class PlatformCategoryViewAssembler {
 
-    public PlatformCategoryView toPlatformCategoryResponse(PlatformCategory category) {
-        PlatformCategoryView categoryView = new PlatformCategoryView();
+    public PlatformCategoryAdminView toPlatformCategoryResponse(PlatformCategory category) {
+        PlatformCategoryAdminView categoryView = new PlatformCategoryAdminView();
         BeanUtil.copyProperties(category, categoryView);
-        categoryView.setIconUrl("");
         return categoryView;
     }
 
     public PlatformCategoryCustomerView toCustomerPlatformCategoryResponse(PlatformCategory category) {
         PlatformCategoryCustomerView categoryView = new PlatformCategoryCustomerView();
         BeanUtil.copyProperties(category, categoryView);
-        categoryView.setIconUrl("");
         return categoryView;
     }
 }

--
Gitblit v1.9.3