Commit cca95fd1 by mushishixian

fix

parent 141c3475
...@@ -43,11 +43,11 @@ class SupplierSearchTagService ...@@ -43,11 +43,11 @@ class SupplierSearchTagService
config('database.connections.rabbitmq.login'), config('database.connections.rabbitmq.login'),
config('database.connections.rabbitmq.password')); config('database.connections.rabbitmq.password'));
$channel = $conn->channel(); $channel = $conn->channel();
$channel->queue_declare('zhuanmai_supplier_update', false, true, false, false); $channel->queue_declare('supplier_zhuanmai_update', false, true, false, false);
$msg = new AMQPMessage(json_encode($message), $msg = new AMQPMessage(json_encode($message),
array('content_type' => 'text/plain')); array('content_type' => 'text/plain'));
$result = $channel->basic_publish($msg, '', 'zhuanmai_supplier_update'); $result = $channel->basic_publish($msg, '', 'supplier_zhuanmai_update');
} }
} }
} }
\ No newline at end of file
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