首页课程排行榜排序问题

This commit is contained in:
86182
2022-11-01 19:22:46 +08:00
parent c51b0f64dd
commit 3e99afd0ae

View File

@@ -137,6 +137,8 @@ public class PortalIndexApi extends ApiBaseController{
PageList<Course> pageList = new PageList<>();
pageList.setList(new ArrayList<>());
pageList.setPageSize(6);
pageList.setCount(coursePageList.getCount());
int i=0;
if(!courses.isEmpty()){