package category import ( "context" "photography-backend/internal/svc" "photography-backend/internal/types" "github.com/zeromicro/go-zero/core/logx" ) type GetCategoryLogic struct { logx.Logger ctx context.Context svcCtx *svc.ServiceContext } // 获取分类详情 func NewGetCategoryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCategoryLogic { return &GetCategoryLogic{ Logger: logx.WithContext(ctx), ctx: ctx, svcCtx: svcCtx, } } func (l *GetCategoryLogic) GetCategory(req *types.GetCategoryRequest) (resp *types.GetCategoryResponse, err error) { // todo: add your logic here and delete this line return }