Commit 8aef4bf0 authored by luhongguang's avatar luhongguang

update: 后台自提点列表

parent 30381ba8
......@@ -25,7 +25,7 @@ class TakePlaceService
$lifeAccountId = MarketingService::getPublicLifeAccountId();
$keywords = $params['keywords'] ?? '';
$takePlaceIds = $params['take_place_id'] ?? [];
$tagIds = $params['tag_ids'] ?? [];
$tagIds = isset($params['tag_ids']) ? $params['tag_ids'] : [];
$businessCircleIds = $params['business_circle_ids'] ?? [];
$offset = $params['offset'] ?? 0;
$limit = $params['limit'] ?? 20;
......@@ -36,7 +36,7 @@ class TakePlaceService
if ($lifeAccountId) {
$where['life_account_id'] = $lifeAccountId;
}
if ($tagIds) {
if ($tagIds || $tagIds == 0) {
$where['tag_id'] = $tagIds;
}
if ($businessCircleIds) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment