Commit 955bede6 by 杨树贤

恢复缓存

parent bb5f5934
Showing with 1 additions and 1 deletions
...@@ -10,7 +10,7 @@ class ClassService ...@@ -10,7 +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 = []; // $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