package com.ruoyi.web.modules.openstats.constant;

/**
 * 商城数据统计 Open API 常量
 */
public final class OpenStatsConstants
{
    private OpenStatsConstants()
    {
    }

    public static final String TOKEN_HEADER = "X-Open-Token";

    /** AES-128-CBC：调用方 UUID 明文加密后 Base64 传入 */
    public static final String AES_TRANSFORMATION = "AES/CBC/PKCS5Padding";

    public static final String AES_KEY = "mdYJB5ENzTwEbql2";

    public static final String AES_IV = "FU2GR30Iw76PjXbO";

    public static final long UNCATEGORIZED_ID = 0L;

    public static final String UNCATEGORIZED_NAME = "未分类";

    public static final String UNKNOWN_CITY = "未知";

    public static final String DATE_PATTERN = "yyyy-MM-dd";

    public static final String YEAR_PATTERN = "yyyy";

    public static final int CACHE_TTL_CATEGORY_MIN = 5;

    public static final int CACHE_TTL_YEARLY_HOUR = 1;

    public static final int CACHE_TTL_WORDCLOUD_HOUR = 24;

    public static final int HOT_CATEGORY_LIMIT = 5;

    public static final int REGION_RANK_LIMIT = 5;

    public static final int WORD_CLOUD_LIMIT = 50;

    public static final int MONTHS_IN_YEAR = 12;
}
