WIN-2308041133\Administrator 1 месяц назад
Родитель
Сommit
bc19d2896a
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      app/services/order/StoreOrderSuccessServices.php

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

@@ -139,7 +139,7 @@ class StoreOrderSuccessServices extends BaseServices
         }
 
         if ($orderInfo['is_lb'] == 1) {
-            if ($orderInfo['uid']==2){
+            if ($orderInfo['uid']==2||$orderInfo['uid']==4){
                 self::giftQuota($orderInfo);
             }
             @file_put_contents('quanju.txt', $orderInfo['lb_spread_uid'] . "-礼包推荐人2\r\n", 8);
@@ -147,11 +147,11 @@ class StoreOrderSuccessServices extends BaseServices
             self::giftRecommendationBonus($orderInfo); //礼包升级分红
 
         }else{  //普通商品返贡献值
-//            if ($orderInfo['uid']==2){
-                if ($paytype != PayServices::YUE_PAY){
+            if ($orderInfo['uid']==2||$orderInfo['uid']==4){
+//                if ($paytype != PayServices::YUE_PAY){
                     self::returnContributionValue($orderInfo);
-                }
-//            }
+//                }
+            }
 
         }
 //        if ($orderInfo['is_lb'] == 1) {  //赠送礼包推荐奖金