移动端文章接口以及二次查询只返回需要的字段

This commit is contained in:
86182
2022-11-09 15:01:51 +08:00
parent 409900d112
commit 418653a236

View File

@@ -234,8 +234,8 @@ public class PortalIndexApi extends ApiBaseController{
for(Course c :courses) {
for(CourseTeacher ct : teachers) {
if(ct.getCourseId().equals(c.getId())) {
c.setSysCreateAid(ct.getTeacherId());
c.setSysCreateBy(ct.getTeacherName());
c.setTeacherId(ct.getTeacherId());
c.setTeacher(ct.getTeacherName());
}
}
}