新增菜单和角色关联接口

This commit is contained in:
2025-06-04 08:56:08 +08:00
parent fedcd288e8
commit 00b889cfcc
25 changed files with 729 additions and 0 deletions

View File

@ -0,0 +1,33 @@
// ================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// You can delete these comments if you wish manually maintain this interface file.
// ================================================================================
package service
import (
"context"
"server/internal/model"
)
type (
IRoleMenu interface {
List(ctx context.Context, in *model.RoleMenuListInput) (out *model.MenuListOutput, err error)
Save(ctx context.Context, in *model.RoleMenuSaveInput) (out *model.UpdateOut, err error)
}
)
var (
localRoleMenu IRoleMenu
)
func RoleMenu() IRoleMenu {
if localRoleMenu == nil {
panic("implement not found for interface IRoleMenu, forgot register?")
}
return localRoleMenu
}
func RegisterRoleMenu(i IRoleMenu) {
localRoleMenu = i
}