Răsfoiți Sursa

fix: GrowthRecommendationService 修复 getCategory 调用错误

iwt 1 lună în urmă
părinte
comite
2cf3fe979d

+ 1 - 1
cfc-backend/src/main/java/com/etotem/cfc/service/GrowthRecommendationService.java

@@ -41,7 +41,7 @@ public class GrowthRecommendationService {
             m.put("title", a.getTitle());
             m.put("summary", a.getSummary());
             m.put("coverImage", a.getCoverImage());
-            m.put("category", a.getCategory());
+            m.put("categoryId", a.getCategoryId());
             m.put("growthCategory", a.getGrowthCategory());
             m.put("publishedAt", a.getPublishedAt());
             return m;