package com.fdkankan.common.constant;

public class RedisKey {

    /**
     * 过期时间：1分钟
     */
    public static int EXPIRE_TIME_1_MINUTE = 1*60*1000;

    /**
     * 过期时间：10分钟
     */
    public static int EXPIRE_TIME_10_MINUTE = 10*60*1000;

    /**
     * 过期时间：30分钟
     */
    public static int EXPIRE_TIME_30_MINUTE = 30*60*1000;

    /**
     * 过期时间：2小时
     */
    public static int EXPIRE_TIME_2_HOUR = 2*60*60*1000;



    /**
     * 登录token
     */
    public static String TOKEN_USER_TYPE = "token:user:type:%s:%s";

    /**
     * 开发者信息
     */
    public static String TM_DEVELOPER = "developer:appid:%s";

    /**
     * 场景浏览量
     */
    public static String SCENE_VISIT_CNT = "scene:visit:cnt:scenecode:%s";
    /**
     * 场景浏览量
     */
    public static String LOCK_SCENE_VISIT_CNT = "lock:scene:visit:cnt:scenecode:%s";

    /**
     * 场景访问量更新锁 hash
     */
    public static String LOCK_SCENE_VISIT_UPDATE = "lock:scene:visit:update";

    /**
     * 场景上传图片锁
     */
    public static String LOCK_UPLOAD_PIC = "lock:upload:pic:scenecode:%s";

    /**
     * 场景pro上传图片锁
     */
    public static String LOCK_UPLOAD_PRO_PIC = "lock:upload:pro:pic:scenecode:%s";

    /**
     * 场景上传音频锁
     */
    public static String LOCK_UPLOAD_VOICE = "lock:upload:voice:scenecode:%s";

    /**
     * 场景pro上传音频锁
     */
    public static String LOCK_UPLOAD_PRO_VOICE = "lock:upload:pro:voice:scenecode:%s";

    /**
     * 画墙重建模型锁
     */
    public static String LOCK_UPLOAD_FLOORJSON_REBUILD = "lock:upload:floorjson:rebuild:scenecode:%s";

    /**
     * 上传图片多媒体数据锁
     */
    public static String LOCK_UPLOAD_FLOORPLAN_PNG = "lock:upload:floorplan:png:scenecode:%s";

    /**
     * 场景码池
     */
    public static String FDKANKAN_SCENE_NUMS = "4dkankan:scene:nums";

    /**
     * 加载场景码池锁
     */
    public static String LOCK_FDKANKAN_SCENE_NUMS = "lock:4dkankan:scene:nums";










}
