|
|
@ -130,9 +130,9 @@ class BaseController extends Controller {
|
|
|
|
$user->where("id=".$d['user_id'])->setInc("balance", $d['pay_amount']);
|
|
|
|
$user->where("id=".$d['user_id'])->setInc("balance", $d['pay_amount']);
|
|
|
|
$user->where("id=".$d['user_id'])->setInc("cumulative", $d['pay_amount']);
|
|
|
|
$user->where("id=".$d['user_id'])->setInc("cumulative", $d['pay_amount']);
|
|
|
|
//APP邀请好友消费奖励平台币
|
|
|
|
//APP邀请好友消费奖励平台币
|
|
|
|
// $this->inviteFriendAward($d['user_id'], $d['pay_amount'], 'PF_'.$data['out_trade_no']);
|
|
|
|
$this->inviteFriendAward($d['user_id'], $d['pay_amount'], 'PF_'.$data['out_trade_no']);
|
|
|
|
//充值奖励积分
|
|
|
|
//充值奖励积分
|
|
|
|
// $this->rechargeAwardPoint($d['user_id'],$d['pay_amount']);
|
|
|
|
$this->rechargeAwardPoint($d['user_id'],$d['pay_amount']);
|
|
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|