package com.zhentao.service;

import com.zhentao.entity.Blacklist;
import com.zhentao.vo.BlacklistVO;
import java.util.List;

public interface BlacklistService {
    
    Blacklist addBlacklist(Long userId, Long blockedUserId, String reason);
    
    boolean removeBlacklist(Long userId, Long blockedUserId);
    
    List<BlacklistVO> getBlacklist(Long userId);
    
    boolean isBlocked(Long userId, Long blockedUserId);
    
    List<Long> getBlockedUserIds(Long userId);
    
    void refreshCache(Long userId);
}


