diff --git a/app/common/repositories/store/order/StoreGroupOrderRepository.php b/app/common/repositories/store/order/StoreGroupOrderRepository.php index fb6d1db9..1225179e 100755 --- a/app/common/repositories/store/order/StoreGroupOrderRepository.php +++ b/app/common/repositories/store/order/StoreGroupOrderRepository.php @@ -67,7 +67,7 @@ class StoreGroupOrderRepository extends BaseRepository { $query = StoreGroupOrder::getDB()->alias('StoreGroupOrder'); if(isset($where['source']) && $where['source'] == 103){ - $wheres['activity_type']=[0,98]; + $wheres['activity_type']=[0, 2, 98]; $wheres['source']=[0,2,103,105]; }else{ $wheres['activity_type']=0; diff --git a/app/controller/api/store/product/StoreSpu.php b/app/controller/api/store/product/StoreSpu.php index 1cdd3481..ad0f7c72 100755 --- a/app/controller/api/store/product/StoreSpu.php +++ b/app/controller/api/store/product/StoreSpu.php @@ -69,6 +69,7 @@ class StoreSpu extends BaseController if (isset($where['type_code']) && $where['type_code'] == 'PersonalStore') { $where['long'] = ''; $where['lat'] = ''; + $where['type_id'] = 21; } else { [$lat, $lng] = (new CityAreaDao())->getLngAndLat($where['location'], $where['street_id']); $where['long'] = $lng;