|  | @@ -144,7 +144,10 @@ class Base
 | 
	
		
			
				|  |  |              $wechat['openid'] = $data['openid'];
 | 
	
		
			
				|  |  |              $wechat['expires_in'] = $data['expires_in'];
 | 
	
		
			
				|  |  |              $wechat['refresh_token'] = $data['refresh_token'];
 | 
	
		
			
				|  |  | -            $wechat['account_id'] = $account;
 | 
	
		
			
				|  |  | +            if ($account) {
 | 
	
		
			
				|  |  | +                $wechat['account_id'] = $account;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            
 | 
	
		
			
				|  |  |              if ($system) {
 | 
	
		
			
				|  |  |                  $wechat['system_id'] = $system;
 | 
	
		
			
				|  |  |              }
 | 
	
	
		
			
				|  | @@ -176,7 +179,9 @@ class Base
 | 
	
		
			
				|  |  |              $wechat['expires_in'] = $data['expires_in'];
 | 
	
		
			
				|  |  |              $wechat['refresh_token'] = $data['refresh_token'];
 | 
	
		
			
				|  |  |              $wechat['where_id'] = $info['id'];
 | 
	
		
			
				|  |  | -            $wechat['account_id'] = $account;
 | 
	
		
			
				|  |  | +            if ($account) {
 | 
	
		
			
				|  |  | +                $wechat['account_id'] = $account;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  |              if ($system) {
 | 
	
		
			
				|  |  |                  $wechat['system_id'] = $system;
 | 
	
		
			
				|  |  |              }
 |