Browse Source

consumer 不能随意创建??-- 创建新的,测试看看

shizhongqi 4 months ago
parent
commit
f6dcc3f91f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      common/config/rabbitMQ.php

+ 2 - 2
common/config/rabbitMQ.php

@@ -164,8 +164,8 @@ $rabbitMQ = [
             'name' => 'stockConsumer',
             'name' => 'stockConsumer',
             'callbacks' => [
             'callbacks' => [
                 'stockQueue' => '\common\components\rabbitmq\stockConsumer',
                 'stockQueue' => '\common\components\rabbitmq\stockConsumer',
-                //'limitBuyQueue' => '\common\components\rabbitmq\cancelLimitBuyConsumer',
-                'limitBuyQueue' => '\common\components\rabbitmq\stockConsumer',
+                'limitBuyQueue' => '\common\components\rabbitmq\cancelLimitBuyConsumer',
+                //'limitBuyQueue' => '\common\components\rabbitmq\stockConsumer',
             ]
             ]
         ],
         ],
         [
         [