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

31 lines
655 B
Go

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
}