|  | @@ -201,8 +201,7 @@ class Index extends Api
 | 
	
		
			
				|  |  |       */
 | 
	
		
			
				|  |  |      public function getInviteImg() {
 | 
	
		
			
				|  |  |          // 获取用户的邀请码
 | 
	
		
			
				|  |  | -//        $invitecode = \app\common\model\User::where(["id"=>$this->auth->id])->value("invite_no");
 | 
	
		
			
				|  |  | -        $invitecode = 'y0AnrH';
 | 
	
		
			
				|  |  | +        $invitecode = \app\common\model\User::where(["id"=>$this->auth->id])->value("invite_no");
 | 
	
		
			
				|  |  |          // 文字图片合成
 | 
	
		
			
				|  |  |          $bigImgPath = httpurllocal('/assets/img/inviteimg.png');
 | 
	
		
			
				|  |  |          $img = imagecreatefrompng($bigImgPath);
 |