|  | @@ -218,9 +218,9 @@ class Index extends Api
 | 
	
		
			
				|  |  |          //旋转角度
 | 
	
		
			
				|  |  |          $circleSize = 0;
 | 
	
		
			
				|  |  |          //左边距
 | 
	
		
			
				|  |  | -        $left = 383;
 | 
	
		
			
				|  |  | +        $left = 188;//383;
 | 
	
		
			
				|  |  |          //上边距
 | 
	
		
			
				|  |  | -        $top = 680;
 | 
	
		
			
				|  |  | +        $top = 1088;//680;
 | 
	
		
			
				|  |  |          imagefttext($img, $fontSize, $circleSize, $left, $top, $black, $font, $invitecode);
 | 
	
		
			
				|  |  |          $filename = date("YmdHis"). $this->auth->id . rand(10000, 99999) . ".jpeg";
 | 
	
		
			
				|  |  |          $path = "/uploads/qrcode/".$filename;
 | 
	
	
		
			
				|  | @@ -274,7 +274,8 @@ class Index extends Api
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          $target_image = imagecreatefromstring(file_get_contents($target));
 | 
	
		
			
				|  |  |          list($target_width, $target_height, $target_type) = getimagesize($target);
 | 
	
		
			
				|  |  | -        imagecopy($background_iamge , $target_image , 350, 850, 0, 0, $target_width, $target_height);
 | 
	
		
			
				|  |  | +//        imagecopy($background_iamge , $target_image , 350, 850, 0, 0, $target_width, $target_height);
 | 
	
		
			
				|  |  | +        imagecopy($background_iamge , $target_image , 468, 1028, 0, 0, $target_width, $target_height);
 | 
	
		
			
				|  |  |          list($background_width, $background_height, $background_type) = getimagesize($background);
 | 
	
		
			
				|  |  |          switch ($background_type) {
 | 
	
		
			
				|  |  |              case 1://gif
 |