This commit is contained in:
2025-10-30 10:55:28 +08:00
parent aee35c6d1c
commit 38d37aa416
4 changed files with 8 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ use support\think\Db;
use support\Log;
try {
// define('AMQP_DEBUG', true);
define('AMQP_DEBUG', true);
$host = config('cons.mq.host');
$port = config('cons.mq.port');
$user = config('cons.mq.user');
@@ -26,7 +26,7 @@ use support\Log;
60,
null,
false,
30
15
);
$rabbit_channel = $connection->channel();
$rabbit_channel->queue_declare($queue, false, true, false, false);