| 
					
				 | 
			
			
				@@ -269,7 +269,7 @@ public class RoomServiceImpl implements RoomService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         String rtcServiceProvider = Optional.ofNullable(sysConfigDao.findConfigValue("rtc_service_provider")).orElse("rongCloud"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         RTCRoomPluginService pluginService = rtcRoomPluginContext.getPluginService(rtcServiceProvider); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (TencentCloudRTCPlugin.PLUGIN_NAME.equals(rtcServiceProvider)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (TencentCloudRTCPlugin.PLUGIN_NAME.equals(pluginService.pluginName())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 腾讯云RTC 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 用户IM帐号创建 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             String userSig = ""; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -319,12 +319,17 @@ public class RoomServiceImpl implements RoomService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                // 加入群组成员 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                log.info("joinImGroup: roomId = {}, userIds = {}", roomId, groupMembers); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                pluginService.chatRoomGroupJoin(roomId, courseSchedule.getName(), groupMembers); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // 生成群组,更新服务提供方 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (StringUtils.isBlank(courseSchedule.getServiceProvider())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    // 加入群组成员 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    log.info("joinImGroup: roomId = {}, userIds = {}", roomId, groupMembers); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    pluginService.chatRoomGroupJoin(roomId, courseSchedule.getName(), groupMembers); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    // 更新网络课服务提供方 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    courseScheduleDao.updateServiceProvider(courseSchedule.getId(), rtcServiceProvider); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                // 更新网络课服务提供方 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                courseScheduleDao.updateServiceProvider(courseSchedule.getId(), rtcServiceProvider); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |