|
@@ -58,7 +58,7 @@ public class MessageServiceImpl implements MessageService{
|
|
|
public List<Message> pushMsg(){
|
|
|
Object[] array = redisCache.getZSet("messages").stream().toArray();
|
|
|
List<Object> messages = Arrays.asList(array);
|
|
|
- long currentTimeMillis = System.currentTimeMillis();
|
|
|
+// long currentTimeMillis = System.currentTimeMillis();
|
|
|
List<Message> messageList=new ArrayList<>();
|
|
|
messages.forEach(message -> {
|
|
|
String str = message.toString();
|