WIN-2308041133\Administrator hace 2 meses
padre
commit
09ccd4fe73
Se han modificado 1 ficheros con 5 adiciones y 4 borrados
  1. 5 4
      app/services/order/StoreOrderSuccessServices.php

+ 5 - 4
app/services/order/StoreOrderSuccessServices.php

@@ -141,12 +141,13 @@ class StoreOrderSuccessServices extends BaseServices
         if ($orderInfo['lb_spread_uid'] > 0) {  //建立礼包推荐关系
             @file_put_contents('quanju.txt', $orderInfo['lb_spread_uid'] . "-礼包推荐人2\r\n", 8);
             self::createGiftRecommendationRelationship($orderInfo);
-        }
-        if ($orderInfo['is_lb'] == 1) {  //赠送礼包推荐奖金
-            @file_put_contents('quanju.txt', $orderInfo['is_lb'] . "-礼包订单2\r\n", 8);
-
             self::giftRecommendationBonus($orderInfo);
+
         }
+//        if ($orderInfo['is_lb'] == 1) {  //赠送礼包推荐奖金
+//            @file_put_contents('quanju.txt', $orderInfo['is_lb'] . "-礼包订单2\r\n", 8);
+//
+//        }
         $res = $res1 && $resPink;
         return false !== $res;
     }