|
@@ -379,10 +379,10 @@ class SharedProsperityUserRepository extends BaseRepository
|
|
379
|
// 记录用户当前的 用户等级
|
379
|
// 记录用户当前的 用户等级
|
|
380
|
$partnerLevel = $sharedProsperityUserEntity->getPartnerLevel();
|
380
|
$partnerLevel = $sharedProsperityUserEntity->getPartnerLevel();
|
|
381
|
|
381
|
|
|
382
|
- // 新增需求 凡是 共富区,购买过商品ID 58635 的 ‘普通用户’ 升级为 ‘1星合伙人’
|
|
|
|
|
|
382
|
+ // 新增需求 凡是 共富区,购买过商品ID 58635,66489 的 ‘普通用户’ 升级为 ‘1星合伙人’
|
|
383
|
/** @var StoreCartRepository $storeCartRepository */
|
383
|
/** @var StoreCartRepository $storeCartRepository */
|
|
384
|
$storeCartRepository = app()->make(StoreCartRepository::class);
|
384
|
$storeCartRepository = app()->make(StoreCartRepository::class);
|
|
385
|
- $storeCartEntityList = $storeCartRepository->getCartEntityListByUidAndProductIdListAndIsPay($sharedProsperityUserEntity->getUserId(), [58635]);
|
|
|
|
|
|
385
|
+ $storeCartEntityList = $storeCartRepository->getCartEntityListByUidAndProductIdListAndIsPay($sharedProsperityUserEntity->getUserId(), [58635,66489]);
|
|
386
|
if (!empty($storeCartEntityList)) {
|
386
|
if (!empty($storeCartEntityList)) {
|
|
387
|
$cartIdList = array_column($storeCartEntityList, 'cartId');
|
387
|
$cartIdList = array_column($storeCartEntityList, 'cartId');
|
|
388
|
if (!empty($cartIdList)) {
|
388
|
if (!empty($cartIdList)) {
|