Wang Chen 4 anni fa
parent
commit
4caa2b184d
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  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 = [