xiaochan před 6 měsíci
rodič
revize
e01bf4c717

+ 1 - 1
src/main/java/thyyxxk/webserver/service/socketmessage/SocketMessageService.java

@@ -38,7 +38,7 @@ public class SocketMessageService {
         date = date.equals("latest") ? dao.selectLatestDate() : dao.selectLastDate(date);
         List<SystemMessage> list = dao.selectMessagesByDate(date);
         if (null == list || list.isEmpty()) {
-            return ResultVoUtil.fail(ExceptionEnum.NO_DATA_EXIST, "已经到顶了,无法找到更多的内容。");
+            return ResultVoUtil.success(new ArrayList<>());
         }
         return ResultVoUtil.success(list);
     }