作者 刘锟

合并分支 'akun' 到 'master'

Akun



查看合并请求 !3247
@@ -117,7 +117,7 @@ class Common @@ -117,7 +117,7 @@ class Common
117 * @author :liyuhang 117 * @author :liyuhang
118 * @method 118 * @method
119 */ 119 */
120 - public static function set_user_cache($data = [],$table,$id,$type = 'B'){ 120 + public static function set_user_cache($data,$table,$id,$type = 'B'){
121 $cache = config('cache.user_is_cache'); 121 $cache = config('cache.user_is_cache');
122 if(isset($cache) && ($cache['is_cache'] == true)){ 122 if(isset($cache) && ($cache['is_cache'] == true)){
123 $key = 'cache_'.$table.'_'.$id.'_type'; 123 $key = 'cache_'.$table.'_'.$id.'_type';