|  | @@ -87,9 +87,9 @@ class Recharge extends Frontend
 | 
	
		
			
				|  |  |              'returnurl' => $this->request->root(true) . '/index/recharge',
 | 
	
		
			
				|  |  |          ];
 | 
	
		
			
				|  |  |          $res = Service::submitOrder($params);
 | 
	
		
			
				|  |  | -        if($pay_type == 'wechat'){
 | 
	
		
			
				|  |  | -            $code_url = $res['cod_url'];
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +        if($pay_type == 'wechat'){
 | 
	
		
			
				|  |  | +            $code_url = $res['code_url'];
 | 
	
		
			
				|  |  |              $qrCode = \addons\qrcode\library\Service::qrcode(['text'=>$code_url]);
 | 
	
		
			
				|  |  |              $response = Response::create()->header("Content-Type", 'image/png');
 | 
	
		
			
				|  |  |  
 |