|
|
@@ -138,7 +138,7 @@ class StoreOrderSuccessServices extends BaseServices
|
|
|
$orderInfo['cart_info'][] = $cart_info;
|
|
|
}
|
|
|
|
|
|
- if ($orderInfo['lb_spread_uid'] > 0) { //建立礼包推荐关系
|
|
|
+ if ($orderInfo['is_lb'] == 1) { //建立礼包推荐关系
|
|
|
@file_put_contents('quanju.txt', $orderInfo['lb_spread_uid'] . "-礼包推荐人2\r\n", 8);
|
|
|
self::createGiftRecommendationRelationship($orderInfo);
|
|
|
self::giftRecommendationBonus($orderInfo);
|