package com.heyu.api.data.constants;

/**
 * redis緩存key的起始
 * **/
public class RedisConstans {

    public static Long ONE_DAY = 86400l;
    public static Long ONE_HOUR = 3600l;

    public static Long ONE_MINUTE = 60l;

    public static Long TEN_SECOND = 10l;

    public static Long ONE_WEEK = ONE_DAY * 7;

    public static Long ONE_MONTH_30 = ONE_DAY * 30;

    public static Long HALF_MONTH_15 = ONE_DAY * 15;
    /*
    * 10年
    * */
    public static Long TEN_YEAR = 365L * 10;
    public static String DEVICE_INFO = "device::info::";

    public static String AI_TYPE_INFO = "AI::TYPE::info::";
    
    public static String IOT_TOKEN = "iot_token:";

    public static String USER_BOX_INFO = "user_box_info:";

    public static String TONGYI_TALK_CONTENT = "tongyi_talk_content:";

    public static String TY_QUEUE_LIST = "ty_queue_list:"; //通义千问的前缀
    /**
     * 阿里语音合成token
     */
    public static String ALI_TTS_TOKEN = "ali_tts_token";

    public static final int SECOND_OF_ONE_MINITS = 1 * 60;
    public static final long SECOND_OF_ONE_MINITS_LONG = 1 * 60l;
    public static final long SECOND_OF_TEN_MINITS = 10 * 60L;
    public static final long SECOND_OF_THREE = 30L;// 30秒
    public static final int SECOND_OF_HALF_HOUR = 30 * 60;
    public static final long SECOND_OF_AN_HOUR = 60 * 60L;
    public static final long SECOND_OF_ONE_DAY = 24 * 60 * 60L;
    public static final long SECOND_OF_ONE_7_DAY = 7 * 24 * 60 * 60L;


    public static final long SECOND_OF_SIXTY = 60l;// 60秒




}
