|
@@ -38,6 +38,7 @@ public class WsCloudServiceProvider implements WsCloudService {
|
|
|
@Override
|
|
|
public SendTextResp sendText(@RequestBody SendTextReq req) {
|
|
|
|
|
|
+ Long rootOrgId = req.getRootOrgId();
|
|
|
UserType userType = req.getUserType();
|
|
|
Long userId = req.getUserId();
|
|
|
String path = req.getPath();
|
|
@@ -47,6 +48,7 @@ public class WsCloudServiceProvider implements WsCloudService {
|
|
|
User user = new User();
|
|
|
user.setUserType(userType);
|
|
|
user.setUserId(userId);
|
|
|
+ user.setRootOrgId(rootOrgId);
|
|
|
String key = user.buildKey();
|
|
|
|
|
|
Session session = WebSocketHelper.getSession(path, key);
|