package cn.axzo.msg.center.common.consts;

/**
 * @author zhangPeng
 * @description
 * @date 2021/1/26 15:17
 */
public interface RedisNameConstants {

  String UNDERLINE = "_";
  String STAR = "*";
  String PERCENT = "%";
  String COLON = ":";
  int EXPIRE_ONE_DAY = 86400;
  int EXPIRE_ONE_HOUR = 3600;
  String BASIC = "basic";
  String AUTH = "auth";
  String    CM_IDENTITY = "cm_identity:";
  String SMS_CODE = "smsCode:";
  String ENT_USER_PERMISSION = "entUserPermission:";
  String PROJ_USER_PERMISSION = "projUserPermission:";
  String PROFESSION_CODE = "profession:AllCode";
  String PROFESSION_HOT_CODE = "profession:HotCode";
  String REPEAT_SUBMISSION = "repeat:submission:";
  String PUSH = "push";
  // im 相关
  final String CM_LEADER = "im:cm_leader";
  final String CM_WORKER = "im:cm_worker";
  final String CMP = "im:cmp";
  // cms、cmp视角相关
  String CMS_PERSPECTIVE = "perspective:";

}
