修改店铺云商品列表的错误
This commit is contained in:
parent
feeac438bf
commit
8e5b2fa121
@ -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']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user