Wang Chen il y a 4 ans
Parent
commit
4caa2b184d
1 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. 5 5
      app/Http/Controllers/QuickApp/WelcomeController.php

+ 5 - 5
app/Http/Controllers/QuickApp/WelcomeController.php

@@ -125,11 +125,11 @@ class WelcomeController extends BaseController
 
         // 获取派单信息
         $adPositions = [];
-//        if ($sendOrderId) {
-//            $sendOrder      = QappSendOrder::getSendOrderById($sendOrderId);
-//            $channelAccount = QappChannelAccount::getByAccount(getProp($sendOrder, 'account'));
-//            $adPositions    = AdPositionService::getInstance()->getAdPositions($this->uid, getProp($channelAccount, 'id'));
-//        }
+        if ($sendOrderId) {
+            $sendOrder      = QappSendOrder::getSendOrderById($sendOrderId);
+            $channelAccount = QappChannelAccount::getByAccount(getProp($sendOrder, 'account'));
+            $adPositions    = AdPositionService::getInstance()->getAdPositions($this->uid, getProp($channelAccount, 'id'));
+        }
 
         // 配置
         $data = [