From 8e5b2fa12160ab52a2c605269b9bc1db5456378c Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Wed, 14 Jun 2023 10:28:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BA=97=E9=93=BA=E4=BA=91?= =?UTF-8?q?=E5=95=86=E5=93=81=E5=88=97=E8=A1=A8=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/listener/CloudProduct.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/listener/CloudProduct.php b/app/listener/CloudProduct.php index aa8b68b0..096f008b 100644 --- a/app/listener/CloudProduct.php +++ b/app/listener/CloudProduct.php @@ -43,7 +43,7 @@ class CloudProduct $repo->update((int)$product['product_id'], ['status' => $status]); } - $cacheKey = sprintf(CloudProductModel::CacheKey, $product['mer_id']); + $cacheKey = sprintf(CloudProductModel::CacheKey, $cloudMerchant); $exist = $RedisCacheService->SISMEMBER($cacheKey, $product['product_id']); if ($status == 1 && !$exist) { $RedisCacheService->SADD($cacheKey, $product['product_id']);