|
@@ -190,7 +190,7 @@ class Order extends BaseModel
|
|
|
->field('user_id,referee_id')
|
|
|
->find();
|
|
|
if($secondId && $secondInfo && $awardScore2>0){
|
|
|
- User::grantMoney($secondInfo, $awardScore2,5,'间推订单佣金',$order['order_id'], $order['user_id']);
|
|
|
+ User::grantMoney($secondId, $awardScore2,5,'间推订单佣金',$order['order_id'], $order['user_id']);
|
|
|
}
|
|
|
}
|
|
|
|