| 
					
				 | 
			
			
				@@ -436,13 +436,17 @@ class User extends Api 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $this->error('VIP才能设置隐私权限'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        $data = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $field = ['yinsi','yinshen','wuhen']; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $data = request_post_hub($field); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        /*$data = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             'yinsi'   => input('yinsi',0), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             'yinshen' => input('yinshen',0), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             'wuhen'   => input('wuhen',0), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        ]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        $update_rs = Db::name('user_power')->where('id',$this->auth->id)->update($data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ];*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if(!empty($data)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            $update_rs = Db::name('user_power')->where('id',$this->auth->id)->update($data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $this->success(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 |