diff --git a/application/api/controller/EmailClient.php b/application/api/controller/EmailClient.php index b243f43b..e9a4af92 100644 --- a/application/api/controller/EmailClient.php +++ b/application/api/controller/EmailClient.php @@ -2282,7 +2282,7 @@ class EmailClient extends Base set_time_limit(120); $sendDate = date('Y-m-d', strtotime('+1 day')); - $noRepeatDaysDefault = 30; + $noRepeatDaysDefault = 15; $factories = Db::name('promotion_factory') ->alias('f') @@ -2354,7 +2354,7 @@ class EmailClient extends Base $expertType = intval($factory['expert_type']); // 内部受众(type∈{1..4}):默认 60 天频次(约稿场景);外部 expert 库(type=5)沿用 30 天 - $noRepeatDays = $expertType === 5 ? $noRepeatDaysDefault : 60; + $noRepeatDays = $expertType === 5 ? $noRepeatDaysDefault : 20; if ($expertType === 5) { $fields = $this->resolveFieldsByFetchIds($factory['fetch_ids']);