首页课程排行榜排序问题

This commit is contained in:
86182
2022-11-01 19:50:53 +08:00
parent a6f715179b
commit 4e3a94bc48

View File

@@ -150,9 +150,9 @@ public class PortalIndexApi extends ApiBaseController{
}
if(!courses.isEmpty()){
for (Course c:courses) {
for (Course c1:pageList.getList()) {
for (Course c1:coursePageList.getList()) {
if(c.getId().equals(c1.getId())){
pageList.getList().remove(c1);
coursePageList.getList().remove(c1);
}
}
}