request->get('introUserId'); $sj = $this->sj; $shop = ShopService::getDefaultShop($sj); $ad = AdService::getValidAdList($this->sjId); //新人专享礼物 $newUserGift = []; if (!empty($introUserId)) { $userInfo = UserService::getUserInfo($this->userId); $newUserGift = InviteService::hasNewGift($userInfo); } util::success(['ad' => $ad, 'shop' => $shop, 'newUserGift' => $newUserGift]); } }