From 340d113a1d782f79f5fc91b24d41c3b790b20026 Mon Sep 17 00:00:00 2001 From: chengxl Date: Thu, 21 Aug 2025 17:53:53 +0800 Subject: [PATCH] =?UTF-8?q?AI=E5=AD=97=E6=AE=B5=E5=8C=B9=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/QueueRedis.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/common/QueueRedis.php b/application/common/QueueRedis.php index b96e2d3..fb9fb5f 100644 --- a/application/common/QueueRedis.php +++ b/application/common/QueueRedis.php @@ -347,11 +347,11 @@ LUA; } // 获取分块进度 - public function getChunkProgress($key, $chunkIndex = '') + public function getChunkProgress($key, $chunkIndex = '-1') { $redis = $this->connect(); - if(empty($chunkIndex)){ + if($chunkIndex == '-1'){ $aChunkValue = $redis->hGetAll($key); }else{