mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-20 18:45:38 +08:00
fixed: 资源的列表无分类筛选 && 分类资源数量计算
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user