|
|
@@ -470,6 +470,9 @@ class StoreOrderSuccessServices extends BaseServices
|
|
|
@file_put_contents('quanju4.txt', '向上发放见点奖: uid=' . $nextUid . ', 金额=' . $spotBrokerage . "\r\n", 8);
|
|
|
}
|
|
|
|
|
|
+ // 更新当前用户ID,用于下一次循环的判断
|
|
|
+ $currentUid = $nextUid;
|
|
|
+
|
|
|
// 查找下一个上级的推荐关系
|
|
|
$currentRelation = $giftGroupService->getOne([
|
|
|
'product_id' => $product_id,
|