线上课列表返回分类+部门

This commit is contained in:
none
2023-03-21 15:47:08 +08:00
parent 9a3b8138f5
commit 85f7afa6e8
10 changed files with 62 additions and 25 deletions

View File

@@ -77,7 +77,6 @@ public class ResourceController {
HashMap<String, Object> data = new HashMap<>();
data.put("result", result);
data.put("pure_total", resourceService.total(type));
if (type.equals(BackendConstant.RESOURCE_TYPE_VIDEO)) {
List<ResourceVideo> resourceVideos = resourceVideoService.chunksByRids(result.getData().stream().map(Resource::getId).toList());