Commit 41edd7d9 authored by 刘基明's avatar 刘基明

返回参数

parent 4156fa95
...@@ -7,6 +7,6 @@ import java.util.List; ...@@ -7,6 +7,6 @@ import java.util.List;
@Data @Data
public class ThemeListResp { public class ThemeListResp {
public List<ThemeQo> list; public List<ThemeQo> themes;
public List<String> excludeIds; public List<String> excludeIds;
} }
...@@ -229,7 +229,7 @@ public class ThemeManager { ...@@ -229,7 +229,7 @@ public class ThemeManager {
ThemeListResp resp = new ThemeListResp(); ThemeListResp resp = new ThemeListResp();
resp.excludeIds = req.excludeIds; resp.excludeIds = req.excludeIds;
resp.excludeIds.addAll(themes.stream().map(ThemeEntity::getThemeId).collect(Collectors.toList())); resp.excludeIds.addAll(themes.stream().map(ThemeEntity::getThemeId).collect(Collectors.toList()));
resp.list = convertEntityToQo(themes, userId); resp.themes = convertEntityToQo(themes, userId);
//组装详情 //组装详情
return resp; return resp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment