|
@@ -111,7 +111,7 @@ class account_helper
|
|
{
|
|
{
|
|
$to_minfo = new member_info($to_id);
|
|
$to_minfo = new member_info($to_id);
|
|
$thief = $to_minfo->nickname();
|
|
$thief = $to_minfo->nickname();
|
|
- bonus_helper::withold_money($from_id,$bonus_rate['rate'],$amount);
|
|
|
|
|
|
+ bonus_helper::withold_money($from_id,$bonus_rate['rate'],$amount,bonus_helper::send_bonus_withold);
|
|
$pred_from->handout_bonus($amount,$ret['type_sn'],$thief,"{$thief}摇走了您{$amount}元的红包.",\bonus\type::MakeShakeGainType);
|
|
$pred_from->handout_bonus($amount,$ret['type_sn'],$thief,"{$thief}摇走了您{$amount}元的红包.",\bonus\type::MakeShakeGainType);
|
|
$bonusex = bonus_helper::send($ret['type_sn'],array($to_id));
|
|
$bonusex = bonus_helper::send($ret['type_sn'],array($to_id));
|
|
push_helper::stolen_bonus($minfo,$to_minfo,$amount);
|
|
push_helper::stolen_bonus($minfo,$to_minfo,$amount);
|
|
@@ -138,7 +138,7 @@ class account_helper
|
|
{
|
|
{
|
|
$to_info = new member_info($to_id);
|
|
$to_info = new member_info($to_id);
|
|
$pred_from->handout_bonus($amount,$ret['type_sn'],$to_info->nickname(),"您摇丢了{$amount}的红包.",\bonus\type::MakeShakeLostType);
|
|
$pred_from->handout_bonus($amount,$ret['type_sn'],$to_info->nickname(),"您摇丢了{$amount}的红包.",\bonus\type::MakeShakeLostType);
|
|
- bonus_helper::withold_money($from_id,$rate,$amount);
|
|
|
|
|
|
+ bonus_helper::withold_money($from_id,$rate,$amount,bonus_helper::send_bonus_withold);
|
|
$bonusex = bonus_helper::send($ret['type_sn'],array($to_id));
|
|
$bonusex = bonus_helper::send($ret['type_sn'],array($to_id));
|
|
push_helper::fly_bonus($minfo,$to_info,$amount);
|
|
push_helper::fly_bonus($minfo,$to_info,$amount);
|
|
return $bonusex;
|
|
return $bonusex;
|