更新
This commit is contained in:
parent
2e2712d59e
commit
8f2f872467
@ -278,6 +278,15 @@ public class UeditorController {
|
||||
return AjaxResult.success(categoryService.getLeavesCategoryList());
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取所有的叶子节点
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/getLeavesCategoryTree")
|
||||
public AjaxResult getLeavesCategoryTree(){
|
||||
return AjaxResult.success(categoryService.getLeavesCategoryTree());
|
||||
}
|
||||
|
||||
/**
|
||||
* 通用上传请求(多个)
|
||||
*/
|
||||
|
@ -0,0 +1,18 @@
|
||||
package com.ruoyi.cms.domain.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: 树性结构返回
|
||||
* @Author: 86187
|
||||
* @Date: 2025/02/28 11:16
|
||||
* @Version: 1.0
|
||||
*/
|
||||
@Data
|
||||
public class TreeVo {
|
||||
private String label;
|
||||
private String value;
|
||||
private List<TreeVo> children;
|
||||
}
|
Loading…
Reference in New Issue
Block a user