|
|
@@ -6,6 +6,8 @@ import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.hswebframework.web.api.crud.entity.TreeSupportEntity;
|
|
|
+import org.hswebframework.web.authorization.annotation.Authorize;
|
|
|
+import org.hswebframework.web.authorization.annotation.Resource;
|
|
|
import org.hswebframework.web.crud.service.ReactiveCrudService;
|
|
|
import org.hswebframework.web.crud.web.reactive.ReactiveServiceCrudController;
|
|
|
import org.hswebframework.web.exception.BusinessException;
|
|
|
@@ -18,6 +20,8 @@ import reactor.core.publisher.Mono;
|
|
|
@RestController
|
|
|
@RequestMapping("/visualization/catalog")
|
|
|
@Slf4j
|
|
|
+@Authorize
|
|
|
+@Resource(id="visualization-catalog",name = "可视化大屏目录")
|
|
|
@AllArgsConstructor
|
|
|
@Tag(name = "大屏分类目录")
|
|
|
public class VisualizationCategoryController implements
|
|
|
@@ -63,7 +67,6 @@ public class VisualizationCategoryController implements
|
|
|
public Flux<VisualizationCategory> getAllCategory() {
|
|
|
return this.service.createQuery()
|
|
|
.fetch();
|
|
|
- // return Flux.fromIterable(statics);
|
|
|
}
|
|
|
|
|
|
|