sync: 同步 v1.0.4 并脱敏配置与镜像
This commit is contained in:
@@ -13,8 +13,8 @@ func TestDocumentCenterAppearsAfterExecutionLog(t *testing.T) {
|
||||
{MenuId: 1, MenuName: "系统管理", Path: "system", MenuType: "M", OrderNum: 900},
|
||||
{MenuId: 1836, MenuName: "执行日志", Path: "batchExecutionLog", MenuType: "C", OrderNum: 32},
|
||||
{MenuId: 2153, MenuName: "文档中心", ParentId: 1, Path: "docs", MenuType: "M", OrderNum: 13},
|
||||
{MenuId: 2155, MenuName: "Web 使用手册", ParentId: 2153, Path: "https://admin.iotlcm.example.com/docs/manual/web/", MenuType: "C", IsFrame: 0, OrderNum: 1},
|
||||
{MenuId: 2154, MenuName: "OpenAPI 文档", ParentId: 2153, Path: "https://admin.iotlcm.example.com/docs/openapi/v3/", MenuType: "C", IsFrame: 0, OrderNum: 2},
|
||||
{MenuId: 2155, MenuName: "Web 使用手册", ParentId: 2153, Path: "https://admin.example.com/docs/manual/web/", MenuType: "C", IsFrame: 0, OrderNum: 1},
|
||||
{MenuId: 2154, MenuName: "OpenAPI 文档", ParentId: 2153, Path: "https://admin.example.com/docs/openapi/v3/", MenuType: "C", IsFrame: 0, OrderNum: 2},
|
||||
}
|
||||
menus, err := NewSysMenu().BuildUserMenuTree(context.Background(), nil, placeDocumentCenterAfterExecutionLog(menuList), "")
|
||||
if err != nil {
|
||||
@@ -35,8 +35,8 @@ func TestDocumentCenterMenuListHierarchy(t *testing.T) {
|
||||
menus := []*model.SysMenuListModel{
|
||||
{MenuId: 1, MenuName: "system", ParentId: 0, Path: "system", OrderNum: 900},
|
||||
{MenuId: 2153, MenuName: "docs", ParentId: 1, Path: "docs", MenuType: "M", OrderNum: 13, Perms: "docs:menu"},
|
||||
{MenuId: 2155, ParentId: 2153, Path: "https://admin.iotlcm.example.com/docs/manual/web/", OrderNum: 1},
|
||||
{MenuId: 2154, ParentId: 2153, Path: "https://admin.iotlcm.example.com/docs/openapi/v3/", OrderNum: 2},
|
||||
{MenuId: 2155, ParentId: 2153, Path: "https://admin.example.com/docs/manual/web/", OrderNum: 1},
|
||||
{MenuId: 2154, ParentId: 2153, Path: "https://admin.example.com/docs/openapi/v3/", OrderNum: 2},
|
||||
{MenuId: 1836, ParentId: 0, Path: "batchExecutionLog", OrderNum: 32},
|
||||
}
|
||||
placeDocumentCenterInMenuList(menus)
|
||||
|
||||
Reference in New Issue
Block a user