package commentservicelogic import ( "context" "app-cloudep-tweeting-service/gen_result/pb/tweeting" "app-cloudep-tweeting-service/internal/svc" "github.com/zeromicro/go-zero/core/logx" ) type DeleteCommentLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewDeleteCommentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteCommentLogic { return &DeleteCommentLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // DeleteComment 刪除評論 func (l *DeleteCommentLogic) DeleteComment(in *tweeting.DeleteCommentReq) (*tweeting.OKResp, error) { // todo: add your logic here and delete this line return &tweeting.OKResp{}, nil }