shish 8 месяцев назад
Родитель
Сommit
bd4a7d2ffe
1 измененных файлов с 0 добавлено и 6 удалено
  1. 0 6
      common/components/rabbitmq/consumer/notifyConsumer.php

+ 0 - 6
common/components/rabbitmq/consumer/notifyConsumer.php

@@ -28,17 +28,11 @@ class notifyConsumer implements ConsumerInterface
         try {
             // 反序列化消息体
             $data = unserialize($msg->body);
-
-            print_r($data);
-            print_r('done!!!!!!!');
-
             if (!is_array($data)) {
                 Yii::error("Invalid notify message format: {$msg->body}", 'rabbitmq.notify');
                 return ConsumerInterface::MSG_REJECT;
             }
-
             Yii::info("Processing notify message: " . json_encode($data), 'rabbitmq.notify');
-
             // 根据通知类型分发处理
             $type = $data['type'] ?? null;
             switch ($type) {