|
@@ -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 = [
|