shizhongqi 4 luni în urmă
părinte
comite
f2b39035f0

+ 0 - 1
common/components/rabbitmq/stockConsumer.php

@@ -11,7 +11,6 @@ use bizGhs\product\classes\ProductClass;
 use common\components\noticeUtil;
 use mikemadisonweb\rabbitmq\components\ConsumerInterface;
 use PhpAmqpLib\Message\AMQPMessage;
-use Yii;
 
 class stockConsumer implements ConsumerInterface
 {

+ 2 - 2
common/config/rabbitMQ.php

@@ -164,8 +164,8 @@ $rabbitMQ = [
             'name' => 'stockConsumer',
             'callbacks' => [
                 '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',
             ]
         ],
         [