mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-11 03:46:50 +08:00
移动端文章接口以及二次查询只返回需要的字段
This commit is contained in:
@@ -234,8 +234,8 @@ public class PortalIndexApi extends ApiBaseController{
|
|||||||
for(Course c :courses) {
|
for(Course c :courses) {
|
||||||
for(CourseTeacher ct : teachers) {
|
for(CourseTeacher ct : teachers) {
|
||||||
if(ct.getCourseId().equals(c.getId())) {
|
if(ct.getCourseId().equals(c.getId())) {
|
||||||
c.setSysCreateAid(ct.getTeacherId());
|
c.setTeacherId(ct.getTeacherId());
|
||||||
c.setSysCreateBy(ct.getTeacherName());
|
c.setTeacher(ct.getTeacherName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user