init
This commit is contained in:
@@ -14,11 +14,16 @@ public class LockKey {
|
||||
public static final String LOCK_VIDEO_SETTLE_REDIS = RedisHttpConstant.REDIS_P + "lock:videoSettle:%s";
|
||||
public static final String LOCK_ONLINE_LOGIN_NOTICE_REDIS = RedisHttpConstant.REDIS_P + "lockHand:loginFansNotice:%s";
|
||||
public static final String LOCK_USER_INFO_AUDIT_REDIS = RedisHttpConstant.REDIS_P + "lock:userInfoAudit:%s";
|
||||
public static final String LOCK_USER_VISITOR_ADD_REDIS = RedisHttpConstant.REDIS_P + "lock:userVisitorAdd:%s-%s";
|
||||
|
||||
public static String getRegisterLockKey(String mobile){
|
||||
return String.format(LOCK_REGISTER_REDIS,mobile);
|
||||
}
|
||||
|
||||
public static String getUserVisitorAddLockKey(Long userId,Long tarUserId){
|
||||
return String.format(LOCK_USER_VISITOR_ADD_REDIS,userId,tarUserId);
|
||||
}
|
||||
|
||||
public static String getDealInviteLockKey(Long userId){
|
||||
return String.format(LOCK_DEAL_INVITE_REDIS,userId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user