|
@@ -158,7 +158,7 @@ public class AuthV3ApiController {
|
|
|
vo.setSort(item.getSeq());
|
|
|
return vo;
|
|
|
}).collect(Collectors.toList());
|
|
|
- List<FunCodeTreeApiVo> mapList = this.addMap(vos, null);
|
|
|
+ List<FunCodeTreeApiVo> mapList = constructFunCodeTree(vos, null);
|
|
|
return ApiResult.setSuccessResult(mapList);
|
|
|
}
|
|
|
|
|
@@ -170,7 +170,7 @@ public class AuthV3ApiController {
|
|
|
* @param pid 父节点
|
|
|
* @return
|
|
|
*/
|
|
|
- private List<FunCodeTreeApiVo> addMap(List<AppFunInfoApiVo> maps, String pid) {
|
|
|
+ private List<FunCodeTreeApiVo> constructFunCodeTree (List<AppFunInfoApiVo> maps, String pid) {
|
|
|
List<FunCodeTreeApiVo> mapList = new ArrayList<>();
|
|
|
maps.forEach(item -> {
|
|
|
FunCodeTreeApiVo vo = new FunCodeTreeApiVo();
|