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: {