mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-14 13:26:49 +08:00
外部讲师的默认头像
This commit is contained in:
@@ -57,4 +57,8 @@ public class CourseTeacher extends IdBaseEntity {
|
|||||||
@Transient
|
@Transient
|
||||||
private Integer teacherType;
|
private Integer teacherType;
|
||||||
|
|
||||||
|
/**讲师头像*/
|
||||||
|
@Transient
|
||||||
|
private String photo;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -214,6 +214,7 @@ public class StudyCourseApi extends ApiBaseController{
|
|||||||
ct.setRemark(t.getDescription());
|
ct.setRemark(t.getDescription());
|
||||||
ct.setSupplier(t.getSupplier());
|
ct.setSupplier(t.getSupplier());
|
||||||
ct.setTeacherType(t.getTeacherType());
|
ct.setTeacherType(t.getTeacherType());
|
||||||
|
ct.setPhoto(t.getPhoto());
|
||||||
}
|
}
|
||||||
if(redisTemplate.opsForValue().get(ct.getTeacherId())==null){
|
if(redisTemplate.opsForValue().get(ct.getTeacherId())==null){
|
||||||
List<String>list=new ArrayList<>();
|
List<String>list=new ArrayList<>();
|
||||||
|
|||||||
Reference in New Issue
Block a user