|
@@ -457,7 +457,7 @@ if (function_exists('made') == false) {
|
|
|
if (Cache::has($key)) return Cache::get($key);
|
|
|
else {
|
|
|
$rs = get_cat_data($cat_id);
|
|
|
- Cache::set($key, $rs, 3600 * 24 * 30);
|
|
|
+ Cache::set($key, $rs, 3600 * 24);
|
|
|
return $rs;
|
|
|
}
|
|
|
// $str = Db::name('cat')->where(['id'=>$var])->find();
|