|
|
@@ -3858,10 +3858,6 @@ class StoreOrderRepository extends BaseRepository
|
|
3858
|
3858
|
//推荐养老金添加
|
|
3859
|
3859
|
$pvfee = bcmul($order['total_price'], $sanfangfenpei['pv'], 2);
|
|
3860
|
3860
|
$zijiUser = Db::name("user")->where('uid', $order["uid"])->find();
|
|
3861
|
|
- // 老用户发红包奖励
|
|
3862
|
|
- if($zijiUser['is_old'] == 1){
|
|
3863
|
|
- $this->giveHongBao($order["uid"], $pvfee, $order_id, $make.'消费赠送红包');
|
|
3864
|
|
- }
|
|
3865
|
3861
|
$sprerdUser = Db::name("user")->where('uid', $zijiUser['spread_uid'])->find();
|
|
3866
|
3862
|
//不为空的时候进行添加推荐奖励
|
|
3867
|
3863
|
if ($sprerdUser) {
|