diff --git a/common/models/agent/Auto_product_setting_model.php b/common/models/agent/Auto_product_setting_model.php index 2d965abb..9f0b614e 100644 --- a/common/models/agent/Auto_product_setting_model.php +++ b/common/models/agent/Auto_product_setting_model.php @@ -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; }