|  | @@ -1121,8 +1121,8 @@ class User extends Api
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |          //$user = $this->auth->getUser();
 | 
	
		
			
				|  |  |          $user = model('User')->find($this->auth->id);
 | 
	
		
			
				|  |  | -        $mobile = $this->request->post('mobile');
 | 
	
		
			
				|  |  | -        $captcha = $this->request->post('captcha');
 | 
	
		
			
				|  |  | +        $mobile = $this->request->param('mobile');
 | 
	
		
			
				|  |  | +        $captcha = $this->request->param('captcha');
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          if(!empty($this->auth->mobile)){
 | 
	
		
			
				|  |  |              $this->error('已经绑定了手机号');
 | 
	
	
		
			
				|  | @@ -1158,7 +1158,7 @@ class User extends Api
 | 
	
		
			
				|  |  |       */
 | 
	
		
			
				|  |  |      public function bindopenid()
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  | -        $code =  $this->request->post('code','');
 | 
	
		
			
				|  |  | +        $code =  $this->request->param('code','');
 | 
	
		
			
				|  |  |          if(!$code){
 | 
	
		
			
				|  |  |              $this->error(__('Invalid parameters'));
 | 
	
		
			
				|  |  |          }
 |