fixed: 资源的列表无分类筛选 && 分类资源数量计算

This commit is contained in:
none
2023-03-17 15:46:04 +08:00
parent 526d661255
commit 2fd8295113
6 changed files with 147 additions and 72 deletions

View File

@@ -68,8 +68,8 @@ public class ResourceController {
filter.setType(type);
filter.setCategoryIds(categoryIds);
filter.setName(name);
// 非超管只能读取它自己上传的资源
if (!backendBus.isSuperAdmin()) {
if (!backendBus.isSuperAdmin()) {// 非超管只能读取它自己上传的资源
filter.setAdminId(PlayEduBContext.getAdminUserID());
}