package com.liquidnet.service.chime.utils;

import com.liquidnet.common.cache.redis.util.RedisUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author AnJiabin <anjiabin@zhengzai.tv>
 * @version V1.0
 * @Description: TODO
 * @class: RedisDataUtil
 * @Package com.liquidnet.service.chime.utils
 * @Copyright: LightNet @ Copyright (c) 2021
 * @date 2021/9/22 11:08
 */
@Component
public class RedisDataUtil {
    @Autowired
    private RedisUtil redisUtil;

    /**
     * 根据演出id判断是否开放社交
     * @param performanceId
     * @return
     */
    public boolean isPassedByPerformanceId(String performanceId){
        return true;
    }

    /**
     * 根据演出地点判断是否开放社交
     * @param cityName
     * @return
     */
    public boolean isPassedByCityName(String cityName){
        return true;
    }
}
