package logic import ( "context" "godemo/gallery/gallery" "godemo/gallery/internal/svc" "github.com/zeromicro/go-zero/core/logx" ) type GetCategoryTreeLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewGetCategoryTreeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCategoryTreeLogic { return &GetCategoryTreeLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // 分类管理 func (l *GetCategoryTreeLogic) GetCategoryTree(in *gallery.CategoryTreeRequest) (*gallery.CategoryTreeResponse, error) { // todo: add your logic here and delete this line return &gallery.CategoryTreeResponse{}, nil }