作者 lyh

gx

@@ -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);