This commit is contained in:
2025-06-16 15:48:55 +08:00
parent 346ade21f1
commit 90d1ef301d
47 changed files with 6233 additions and 112 deletions

View File

@@ -384,7 +384,7 @@ func (r *menuRepository) Initialize(ctx context.Context) error {
_, err = r.Create(ctx, &system.Menu{
Name: "刷新",
DisplayName: "刷新",
Url: "/system/role/refresh",
Url: "/system/role/refresh_cache",
Type: "btn",
ParentID: systemRole.ID,
ParentPath: fmt.Sprintf("%s%d,", systemRole.ParentPath, systemRole.ID),
@@ -565,7 +565,7 @@ func (r *menuRepository) Initialize(ctx context.Context) error {
_, err = r.Create(ctx, &system.Menu{
Name: "刷新",
DisplayName: "刷新",
Url: "/system/department/refresh",
Url: "/system/department/refresh_cache",
Type: "btn",
ParentID: systemDepartment.ID,
ParentPath: fmt.Sprintf("%s%d,", systemDepartment.ParentPath, systemDepartment.ID),
@@ -808,7 +808,7 @@ func (r *menuRepository) Initialize(ctx context.Context) error {
_, err = r.Create(ctx, &system.Menu{
Name: "刷新",
DisplayName: "刷新",
Url: "/system/config/refresh",
Url: "/system/config/refresh_cache",
Type: "btn",
ParentID: systemConfig.ID,
ParentPath: fmt.Sprintf("%s%d,", systemConfig.ParentPath, systemConfig.ID),