Commit 5c400388 by lenx065@gmail.com

赛事首页

parent 1e3b4978
......@@ -158,8 +158,9 @@ public class MatchServiceImpl implements MatchService {
}
MatchHomeListByDayResponse response = new MatchHomeListByDayResponse();
response.setMatchInfos(new ArrayList<>());
for (int i = matches.size() - 1; i >= 0; i--) {
if (i == matches.size()) {
if (i == matches.size() - 1) {
response.setMatchDay(DateUtil.format(matches.get(0).getMatchTime(), DateUtil.YMD_));
}
Match match = matches.get(i);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment