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

返回参数

parent 4156fa95
......@@ -7,6 +7,6 @@ import java.util.List;
@Data
public class ThemeListResp {
public List<ThemeQo> list;
public List<ThemeQo> themes;
public List<String> excludeIds;
}
......@@ -229,7 +229,7 @@ public class ThemeManager {
ThemeListResp resp = new ThemeListResp();
resp.excludeIds = req.excludeIds;
resp.excludeIds.addAll(themes.stream().map(ThemeEntity::getThemeId).collect(Collectors.toList()));
resp.list = convertEntityToQo(themes, userId);
resp.themes = convertEntityToQo(themes, userId);
//组装详情
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