package category import ( "context" "photography-backend/internal/svc" "photography-backend/internal/types" "github.com/zeromicro/go-zero/core/logx" ) type UpdateCategoryLogic struct { logx.Logger ctx context.Context svcCtx *svc.ServiceContext } // 更新分类 func NewUpdateCategoryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCategoryLogic { return &UpdateCategoryLogic{ Logger: logx.WithContext(ctx), ctx: ctx, svcCtx: svcCtx, } } func (l *UpdateCategoryLogic) UpdateCategory(req *types.UpdateCategoryRequest) (resp *types.UpdateCategoryResponse, err error) { // todo: add your logic here and delete this line return }