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