首页课程排行榜排序问题

This commit is contained in:
86182
2022-11-01 19:28:34 +08:00
parent 3e99afd0ae
commit 46b2c5a77f

View File

@@ -136,7 +136,7 @@ public class PortalIndexApi extends ApiBaseController{
List<Course> courses = courseService.userHobbyList(aid,dto.getOrderField(),dto.getOrderAsc());
PageList<Course> pageList = new PageList<>();
pageList.setList(new ArrayList<>());
pageList.setList(new ArrayList<Course>());
pageList.setPageSize(6);
pageList.setCount(coursePageList.getCount());