正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -94,6 +94,8 @@ class Common | @@ -94,6 +94,8 @@ class Common | ||
| 94 | public static function get_user_cache($table,$id,$type = 'B'){ | 94 | public static function get_user_cache($table,$id,$type = 'B'){ |
| 95 | $data = []; | 95 | $data = []; |
| 96 | $cache = config('cache.user_is_cache'); | 96 | $cache = config('cache.user_is_cache'); |
| 97 | + var_dump($cache); | ||
| 98 | + die(); | ||
| 97 | if(isset($cache) && ($cache['is_cache'] == true)){ | 99 | if(isset($cache) && ($cache['is_cache'] == true)){ |
| 98 | $key = 'cache_'.$table.'_'.$id.'_type'; | 100 | $key = 'cache_'.$table.'_'.$id.'_type'; |
| 99 | $data = Cache::store('file')->get($key); | 101 | $data = Cache::store('file')->get($key); |
-
请 注册 或 登录 后发表评论