mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-09 10:56:50 +08:00
移动端文章接口以及二次查询只返回需要的字段
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user