update 加了个排序
This commit is contained in:
parent
45c38f56fd
commit
6c7755eed2
@ -15,6 +15,7 @@ import org.springframework.stereotype.Service;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
@ -60,6 +61,7 @@ public class LiveService {
|
||||
Log.e(e);
|
||||
}
|
||||
}
|
||||
liveDataList.sort(Comparator.comparing(LiveData::isLive).reversed());
|
||||
return liveDataList;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user