From 38d37aa416f00decb25b15e12e60c897db889c9e Mon Sep 17 00:00:00 2001 From: ASUS <515617283@qq.com> Date: Thu, 30 Oct 2025 10:55:28 +0800 Subject: [PATCH] debug --- scripts/applysmstemp.php | 4 ++-- scripts/birthdaygiftsms.php | 4 ++-- scripts/rabborderprint.php | 4 ++-- scripts/rabbproductupdate.php | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/applysmstemp.php b/scripts/applysmstemp.php index 60e1662..d7f7d05 100644 --- a/scripts/applysmstemp.php +++ b/scripts/applysmstemp.php @@ -16,7 +16,7 @@ use Webman\RedisQueue\Redis; try { -// define('AMQP_DEBUG', true); + define('AMQP_DEBUG', true); // 防止空闲时间断线必须设置心跳 $connection = new AMQPStreamConnection($host, $port, $user, $password, '/', @@ -28,7 +28,7 @@ try { 60, null, false, - 30 + 15 ); $rabbit_channel = $connection->channel(); $rabbit_channel->queue_declare($queue, false, true, false, false); diff --git a/scripts/birthdaygiftsms.php b/scripts/birthdaygiftsms.php index 1639a76..f56dfda 100644 --- a/scripts/birthdaygiftsms.php +++ b/scripts/birthdaygiftsms.php @@ -10,7 +10,7 @@ use Webman\RedisQueue\Redis; try { // 生日有礼 -// define('AMQP_DEBUG', true); + define('AMQP_DEBUG', true); $host = config('cons.mq.host'); $port = config('cons.mq.port'); $user = config('cons.mq.user'); @@ -28,7 +28,7 @@ try { 60, null, false, - 30 + 15 ); $rabbit_channel = $connection->channel(); $rabbit_channel->queue_declare($queue, false, true, false, false); diff --git a/scripts/rabborderprint.php b/scripts/rabborderprint.php index a123f4d..61733d1 100644 --- a/scripts/rabborderprint.php +++ b/scripts/rabborderprint.php @@ -16,7 +16,7 @@ use support\Log; try { -// define('AMQP_DEBUG', true); + define('AMQP_DEBUG', true); // 防止空闲时间断线必须设置心跳 $connection = new AMQPStreamConnection($host, $port, $user, $password, '/', @@ -28,7 +28,7 @@ try { 60, null, false, - 30 + 15 ); $rabbit_channel = $connection->channel(); $rabbit_channel->queue_declare($queue, false, true, false, false, false, [ diff --git a/scripts/rabbproductupdate.php b/scripts/rabbproductupdate.php index 05c74d1..ebc31d9 100644 --- a/scripts/rabbproductupdate.php +++ b/scripts/rabbproductupdate.php @@ -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);