liuyu 4 년 전
부모
커밋
8deeb0cdd5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/service/room.js

+ 1 - 1
app/service/room.js

@@ -143,7 +143,7 @@ class RoomService extends CrudService {
       if (result) {
         const { mq } = this.ctx;
         if (mq) {
-          const exchange = 'switch_shmai_' + result.id;
+          const exchange = 'switch_shmai_' + id;
           const parm = {
             durable: true,
             headers: {