dev-v2 #3

Merged
bunny merged 122 commits from dev-v2 into master-v2 2024-03-30 23:40:58 +08:00
3 changed files with 11 additions and 2 deletions
Showing only changes of commit 9b5408cf46 - Show all commits

View File

@ -24,7 +24,12 @@ public class CategoryHelper {
return tree;
}
/**
* 将List<SysMenu>对象转换成List<SysMenuVo>对象
*
* @param categoryList 全部菜单列表
* @return 系统菜单响应结果实体类列表
*/
public static Category getChildren(Category category, List<Category> categoryList) {
// 遍历所有菜单数据判断id和parentID对应关系
category.setChildren(new ArrayList<>());

View File

@ -13,4 +13,6 @@ bunny:
nacos:
server-addr: z-bunny.cn:8848
discovery:
namespace: spzx

View File

@ -8,7 +8,9 @@ spring:
cloud:
nacos:
server-addr: ${bunny.nacos.server-addr}
discovery:
namespace: ${bunny.nacos.discovery.namespace}
server-addr: ${bunny.nacos.server-addr}
datasource:
type: com.zaxxer.hikari.HikariDataSource