调整产品setting表缓存时间
This commit is contained in:
@@ -31,7 +31,7 @@ class Auto_product_setting_model extends HD_Model
|
||||
if (!$cache->exists($cacheKey)) {
|
||||
$row = $this->get(['product_id' => $productId, 'name' => $name]);
|
||||
$result = $row['value'];
|
||||
$cache->save($cacheKey, $result, 24*3600);
|
||||
$cache->save($cacheKey, $result, 2*3600);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user