Files
ocean/gallery/internal/logic/getcategorytreelogic.go
2025-05-22 19:39:08 +08:00

32 lines
683 B
Go

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
}