// Code scaffolded by goctl. Safe to edit. // goctl 1.9.2 package menu import ( "context" "github.com/youruser/base/internal/svc" "github.com/youruser/base/internal/types" "github.com/zeromicro/go-zero/core/logx" ) type GetMenuListLogic struct { logx.Logger ctx context.Context svcCtx *svc.ServiceContext } // 获取全部菜单列表 func NewGetMenuListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuListLogic { return &GetMenuListLogic{ Logger: logx.WithContext(ctx), ctx: ctx, svcCtx: svcCtx, } } func (l *GetMenuListLogic) GetMenuList() (resp *types.MenuListResponse, err error) { // todo: add your logic here and delete this line return }