|  | @@ -1554,7 +1554,7 @@ class Party extends Common
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              if($giftcount < $allCount) $this->error("背包数量不足");
 | 
	
		
			
				|  |  |              $giftValue = $giftInfo["value"] * $number;
 | 
	
		
			
				|  |  | -            $getValue = $giftInfo["value"] * $number;
 | 
	
		
			
				|  |  | +            $getValue  = $giftInfo["value"] * $number;
 | 
	
		
			
				|  |  |          } else {
 | 
	
		
			
				|  |  |  //        // 不可以赠送给自己
 | 
	
		
			
				|  |  |  //        if(in_array($userauthid,$user_id_arr)) $this->error("不可以赠送给自己!");
 | 
	
	
		
			
				|  | @@ -1613,7 +1613,7 @@ class Party extends Common
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          $platValue = bcmul($platRate/100,$getValue,2);
 | 
	
		
			
				|  |  |          $guilderValue = bcmul($guilderRate/100,$getValue,2);
 | 
	
		
			
				|  |  | -        $getValue = bcsub(bcsub($getValue,$platValue),$guilderValue);
 | 
	
		
			
				|  |  | +        $getValue = bcsub(bcsub($getValue,$platValue,2),$guilderValue,2);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  //        $gif_image = $is_back==1?$giftInfo["gif_image"]:$giftInfo["special"];
 | 
	
		
			
				|  |  |          $returnData = [];
 | 
	
	
		
			
				|  | @@ -1847,7 +1847,7 @@ class Party extends Common
 | 
	
		
			
				|  |  |                  $data = [];
 | 
	
		
			
				|  |  |                  $data["user_id"] = $user_ids;
 | 
	
		
			
				|  |  |                  $data["party_id"] = $party_id?$party_id:0;
 | 
	
		
			
				|  |  | -                $data["gift_value"] = $getValue;
 | 
	
		
			
				|  |  | +                $data["gift_value"] = $giftValue;
 | 
	
		
			
				|  |  |                  $data["plat_value"] = $platValue;
 | 
	
		
			
				|  |  |                  $data["guilder_value"] = $guilderValue;
 | 
	
		
			
				|  |  |                  $data["createtime"] = time();
 |