|
@@ -967,12 +967,12 @@ class UserRepository extends BaseRepository
|
|
|
});
|
|
|
if($order_id){
|
|
|
//一级注册折扣百分比
|
|
|
- /*$store_percentage = new StorePercentageRepository();
|
|
|
+ $store_percentage = new StorePercentageRepository();
|
|
|
$store_percentage->deduction_percentage(1,$user->uid,$order_id);
|
|
|
//二级注册折扣百分比
|
|
|
if($spread->order_id){
|
|
|
$store_percentage->deduction_percentage(2,$user->uid,$spread->order_id);
|
|
|
- }*/
|
|
|
+ }
|
|
|
}
|
|
|
Queue::push(UserBrokerageLevelJob::class, ['uid' => $spreadUid, 'type' => 'spread_user', 'inc' => 1]);
|
|
|
app()->make(UserBrokerageRepository::class)->incMemberValue($user->uid, 'member_share_num', 0);
|