|
@@ -28,7 +28,7 @@ class ShopController extends BaseController
|
|
|
$newUserGift = [];
|
|
$newUserGift = [];
|
|
|
if (!empty($introUserId)) {
|
|
if (!empty($introUserId)) {
|
|
|
$userInfo = UserService::getUserInfo($this->userId);
|
|
$userInfo = UserService::getUserInfo($this->userId);
|
|
|
- $newUserGift = InviteService::hasNewUserGift($userInfo);
|
|
|
|
|
|
|
+ $newUserGift = InviteService::hasNewGift($userInfo);
|
|
|
}
|
|
}
|
|
|
util::success(['ad' => $ad, 'shop' => $shop, 'newUserGift' => $newUserGift]);
|
|
util::success(['ad' => $ad, 'shop' => $shop, 'newUserGift' => $newUserGift]);
|
|
|
}
|
|
}
|