瀏覽代碼

Merge branch 'feature/0803-im'

zouxuan 2 年之前
父節點
當前提交
7868d4d045

+ 1 - 1
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/ImNetworkRoomServiceImpl.java

@@ -410,7 +410,7 @@ public class ImNetworkRoomServiceImpl extends ServiceImpl<ImNetworkRoomDao, ImNe
     public void display(ImNetworkDisplayDataDto displayData) throws Exception {
         log.info("display in data = {}", displayData);
         CourseSchedule courseSchedule = courseScheduleService.getById(displayData.getRoomId());
-        displayData.setUserId(displayData.getUserId());
+        displayData.setUserId(imGroupService.getImUserId(sysUserService.getUserId(),displayData.getClientType()));
         displayData.setTeacherId(imGroupService.getImUserId(courseSchedule.getTeacherId(),RoleEnum.RoleTeacher));
         roomService.display(displayData,courseSchedule.getServiceProvider());
     }