Commit bb5f5934 by 杨树贤

修复

parent d063c3af
Showing with 1 additions and 0 deletions
...@@ -10,6 +10,7 @@ class ClassService ...@@ -10,6 +10,7 @@ class ClassService
public static function getClassificationForHome() public static function getClassificationForHome()
{ {
$cache = Redis::get('semour_classification_cache'); $cache = Redis::get('semour_classification_cache');
$cache = [];
if ($cache) { if ($cache) {
return json_decode($cache, true); return json_decode($cache, true);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment