|
|
@@ -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);
|
|
|
}
|