去除多余的参数
This commit is contained in:
parent
bc7e359e1f
commit
c2f77f678c
@ -450,7 +450,7 @@ public class AccountUserBindConnectServiceImpl extends BaseServiceImpl<AccountUs
|
|||||||
Integer userId=userDto.getId();
|
Integer userId=userDto.getId();
|
||||||
|
|
||||||
String mapKey= RedisConstant.SUB_SEND_CACHE+userId;
|
String mapKey= RedisConstant.SUB_SEND_CACHE+userId;
|
||||||
redisTemplate.opsForHash().increment(RedisConstant.SUB_SEND_CACHE,mapKey, 1);//todo 删除
|
//redisTemplate.opsForHash().increment(RedisConstant.SUB_SEND_CACHE,mapKey, 1);//todo 删除
|
||||||
if(redisTemplate.opsForHash().get(RedisConstant.SUB_SEND_CACHE,mapKey)!=null) {
|
if(redisTemplate.opsForHash().get(RedisConstant.SUB_SEND_CACHE,mapKey)!=null) {
|
||||||
Integer integer = (Integer) redisTemplate.opsForHash().get(RedisConstant.SUB_SEND_CACHE, mapKey);
|
Integer integer = (Integer) redisTemplate.opsForHash().get(RedisConstant.SUB_SEND_CACHE, mapKey);
|
||||||
if(integer!=null&& integer >0){
|
if(integer!=null&& integer >0){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user