fix publish notice

master
wangyuan 2019-11-08 16:35:17 +08:00
parent 297c872683
commit 90a4130a20
1 changed files with 4 additions and 2 deletions

View File

@ -71,8 +71,10 @@ public class NoticeController {
continue;
}
}
String[] string= new String[remove.size()];
RedisUtil.getInstence().delMapKey(RedisUserKey.NOTICE,"",remove.toArray(string));
if(!remove.isEmpty()){
String[] string= new String[remove.size()];
RedisUtil.getInstence().delMapKey(RedisUserKey.NOTICE,"",remove.toArray(string));
}
return 0;
}