|
@@ -4,7 +4,6 @@ namespace App\Http\Controllers\QuickApp;
|
|
|
|
|
|
use App\Modules\AdPosition\Services\AdPositionService;
|
|
|
use App\Modules\SendOrder\Models\QappSendOrder;
|
|
|
-use App\Modules\SendOrder\Models\QuickAppSendOrder;
|
|
|
use App\Modules\User\Models\QappChannelAccount;
|
|
|
use App\Modules\User\Services\QappPackageService;
|
|
|
use Illuminate\Http\Request;
|
|
@@ -116,11 +115,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 = [
|