Commit eeacf8f2 by mushishixian

fix

parent cca95fd1
...@@ -45,7 +45,7 @@ class SupplierSearchTagService ...@@ -45,7 +45,7 @@ class SupplierSearchTagService
$channel = $conn->channel(); $channel = $conn->channel();
$channel->queue_declare('supplier_zhuanmai_update', false, true, false, false); $channel->queue_declare('supplier_zhuanmai_update', false, true, false, false);
$msg = new AMQPMessage(json_encode($message), $msg = new AMQPMessage($message,
array('content_type' => 'text/plain')); array('content_type' => 'text/plain'));
$result = $channel->basic_publish($msg, '', 'supplier_zhuanmai_update'); $result = $channel->basic_publish($msg, '', 'supplier_zhuanmai_update');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment