|
...
|
...
|
@@ -94,6 +94,8 @@ class Common |
|
|
|
public static function get_user_cache($table,$id,$type = 'B'){
|
|
|
|
$data = [];
|
|
|
|
$cache = config('cache.user_is_cache');
|
|
|
|
var_dump($cache);
|
|
|
|
die();
|
|
|
|
if(isset($cache) && ($cache['is_cache'] == true)){
|
|
|
|
$key = 'cache_'.$table.'_'.$id.'_type';
|
|
|
|
$data = Cache::store('file')->get($key);
|
...
|
...
|
|