package cn.com.poc.common.constant;

/**
 * @author Helen
 * @date 2021/12/2 14:55
 */
public interface RedisConstant {

    String CALLBACK_KEY_PREFIX = "CALLBACK_KEY";
    String CALLBACK_KEY_INTERVAL = "-";
    interface CALLBACK_KEY_TYPE {
        String COUPON_EXPIRED = "COUPON_EXPIRED";
        String ACTIVITY_END = "ACTIVITY_END";
    }

    /**
     * redis key过期提前量
     */
    long CALLBACK_KEY_EXPIRED_IN_ADVANCE = 2l;

}
