diff --git a/frontend/controllers/MarketingStrategyController.php b/frontend/controllers/MarketingStrategyController.php index c8836ba..2beb242 100644 --- a/frontend/controllers/MarketingStrategyController.php +++ b/frontend/controllers/MarketingStrategyController.php @@ -582,6 +582,9 @@ class MarketingStrategyController extends UserBaseController $ids[] = $item->id; } } + if(count($ids) == 0) { + return $result; + } $result['success'] = true; $result['ids'] = join(',',$ids); $result['celuo_id'] = $yingxiao_item->id;