You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
542 B
26 lines
542 B
package com.epmet.constant;
|
|
|
|
/**
|
|
* @Description
|
|
* @ClassName UserRedisKeys
|
|
* @Auth wangc
|
|
* @Date 2020-07-22 17:16
|
|
*/
|
|
public class UserRedisKeys {
|
|
|
|
/**
|
|
* 党群e事通redis前缀
|
|
*/
|
|
private static String rootPrefix = "epmet:";
|
|
|
|
/**
|
|
* @Description 用户缓存Key
|
|
* @Param 用户Id
|
|
* @return epmet:resi:user:userId
|
|
* @Author wangc
|
|
* @Date 2020.04.13 11:27
|
|
**/
|
|
public static String getResiUserKey(String userId){
|
|
return rootPrefix.concat("resi:user:").concat(userId);
|
|
}
|
|
}
|
|
|