24 lines
767 B
Java
24 lines
767 B
Java
|
|
package com.lesingle.creation.service;
|
||
|
|
|
||
|
|
import com.lesingle.creation.vo.publicwork.InteractionStatusVO;
|
||
|
|
import com.lesingle.creation.vo.publicwork.MyFavoritesVO;
|
||
|
|
import com.lesingle.creation.vo.publicwork.ToggleFavoriteVO;
|
||
|
|
import com.lesingle.creation.vo.publicwork.ToggleLikeVO;
|
||
|
|
|
||
|
|
import java.util.Map;
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
public interface InteractionService {
|
||
|
|
|
||
|
|
ToggleLikeVO toggleLike(Long userId, Long workId);
|
||
|
|
|
||
|
|
ToggleFavoriteVO toggleFavorite(Long userId, Long workId);
|
||
|
|
|
||
|
|
InteractionStatusVO getInteractionStatus(Long userId, Long workId);
|
||
|
|
|
||
|
|
MyFavoritesVO getMyFavorites(Long tenantId, Long userId, Integer page, Integer pageSize);
|
||
|
|
|
||
|
|
Map<Long, InteractionStatusVO> batchGetInteractionStatus(Long tenantId, Long userId, List<Long> workIds);
|
||
|
|
}
|
||
|
|
|