package logic import ( "context" "godemo/category/category" "godemo/category/internal/svc" "github.com/zeromicro/go-zero/core/logx" ) type MoveCategoryLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewMoveCategoryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MoveCategoryLogic { return &MoveCategoryLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } func (l *MoveCategoryLogic) MoveCategory(in *category.MoveCategoryRequest) (*category.CategoryInfoResponse, error) { // todo: add your logic here and delete this line return &category.CategoryInfoResponse{}, nil }