|
@@ -453,11 +453,9 @@ if(!function_exists('get_yz_cat_info')){
|
|
|
->field('id,yz_cat_id,yz_cat_name,parent_cid')
|
|
|
->where(['yz_cat_id'=>$yz_cat_id,'status'=>1])
|
|
|
->findOrEmpty();
|
|
|
-// if($rs) \think\facade\Cache::set($key,$rs,36000);
|
|
|
+ if($rs) \think\facade\Cache::set($key,$rs,36000);
|
|
|
}
|
|
|
-
|
|
|
return $rs;
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
|