gemercheung hai 1 ano
pai
achega
1eefb742a9
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/room/actions/actions.service.ts

+ 2 - 1
src/room/actions/actions.service.ts

@@ -101,7 +101,7 @@ export class ActionsService {
   }
 
   async handleDanmaku(data: DanmakuDataType, roomId: string) {
-    console.log('data', data);
+    // console.log('data', data);
     const time = Date.now();
     if (roomId) {
       this.redis.hset(
@@ -109,6 +109,7 @@ export class ActionsService {
         time,
         JSON.stringify(data),
       );
+      this.roomService.logger.warn('danmumsg::', JSON.stringify(data));
     } else {
       this.roomService.logger.warn(
         'handleDanmaku missing roomId ',