|
|
@@ -132,6 +132,7 @@ export class RoomController extends BasicController {
|
|
|
this.socket.join(this.roomId);
|
|
|
|
|
|
const isInRoom = await isUserInRooms(this.roomId, this.userId);
|
|
|
+ console.log("测试-强制上线", isInRoom, this.roomId, this.userId);
|
|
|
if (isInRoom) {
|
|
|
if (Number(isInRoom.onlineStatus) === 0) {
|
|
|
console.log("在房间人员掉线人员,强制上线!", isInRoom);
|
|
|
@@ -156,9 +157,6 @@ export class RoomController extends BasicController {
|
|
|
return Promise.resolve(true);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
initBaseAction() {
|
|
|
// 通知 baseView 减少大量通知
|
|
|
this.socket.on(EVENT.webSyncAction, (data) => {
|