|
@@ -74,6 +74,11 @@ export class RoomController extends BasicController {
|
|
this.user.sig = this.getSig(this.user.userId);
|
|
this.user.sig = this.getSig(this.user.userId);
|
|
const oneSceneNum = this.user.sceneNumber || this.user.sceneNum;
|
|
const oneSceneNum = this.user.sceneNumber || this.user.sceneNum;
|
|
const { userId, roomId } = this.user;
|
|
const { userId, roomId } = this.user;
|
|
|
|
+
|
|
|
|
+ if (!roomId) {
|
|
|
|
+ this.logger.error("不存在房间号", user);
|
|
|
|
+ roomId = "88888888";
|
|
|
|
+ }
|
|
await this.initParams(userId, roomId, oneSceneNum);
|
|
await this.initParams(userId, roomId, oneSceneNum);
|
|
|
|
|
|
//role的顺序
|
|
//role的顺序
|