作者 lyh

gx

@@ -94,12 +94,12 @@ class Common @@ -94,12 +94,12 @@ 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();  
99 if(isset($cache) && ($cache['is_cache'] == true)){ 97 if(isset($cache) && ($cache['is_cache'] == true)){
100 $key = 'cache_'.$table.'_'.$id.'_type'; 98 $key = 'cache_'.$table.'_'.$id.'_type';
101 $data = Cache::store('file')->get($key); 99 $data = Cache::store('file')->get($key);
102 } 100 }
  101 + var_dump($data);
  102 + die();
103 return $data; 103 return $data;
104 } 104 }
105 105