|  | @@ -270,11 +270,11 @@ class Login extends Base
 | 
	
		
			
				|  |  |          $code = $this->request->post("code");
 | 
	
		
			
				|  |  |          $logincode = $this->request->post("logincode");
 | 
	
		
			
				|  |  |          $bind = $this->request->post("bind");
 | 
	
		
			
				|  |  | -        $data = (new \addons\shop\library\Wechat\Service())->getWechatMobile($code);
 | 
	
		
			
				|  |  | +        $data = (new \app\common\library\Wechat\Service())->getWechatMobile($code);
 | 
	
		
			
				|  |  |          if ($data) {
 | 
	
		
			
				|  |  |              $mobile = $data['phoneNumber'];
 | 
	
		
			
				|  |  |              //获取openid和unionid
 | 
	
		
			
				|  |  | -            $json = (new \addons\shop\library\Wechat\Service())->getWechatSession($logincode);
 | 
	
		
			
				|  |  | +            $json = (new \app\common\library\Wechat\Service())->getWechatSession($logincode);
 | 
	
		
			
				|  |  |              $openid = $json['openid'] ?? '';
 | 
	
		
			
				|  |  |              $unionid = $json['unionid'] ?? '';
 | 
	
		
			
				|  |  |  
 |