对接
This commit is contained in:
@@ -30,3 +30,7 @@ func (s *StreamService) Get(ctx context.Context, streamID string) (*dto.LiveStre
|
||||
}
|
||||
return &dto.LiveStreamResponse{StreamID: stream.StreamID, PublisherOnline: stream.PublisherOnline, SubscriberCount: stream.SubscriberCount}, nil
|
||||
}
|
||||
|
||||
func (s *StreamService) Like(ctx context.Context, streamID string) (int, error) {
|
||||
return s.uc.Like(ctx, streamID)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user