From 39e3d247f0cb17aa0a29c9d6b6e30c7f8eec3aad Mon Sep 17 00:00:00 2001 From: chengxl Date: Tue, 10 Jun 2025 10:10:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E9=80=81=E9=82=AE=E4=BB=B6=E7=BB=99?= =?UTF-8?q?=E5=85=B3=E8=81=94=E6=96=87=E7=AB=A0=E7=9A=84=E4=BD=9C=E8=80=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Production.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/application/api/controller/Production.php b/application/api/controller/Production.php index 9f30e64..bc31528 100644 --- a/application/api/controller/Production.php +++ b/application/api/controller/Production.php @@ -796,6 +796,15 @@ class Production extends Base } } //推送到生成AI内容队列 chengxiaoling end 20250530 + + //推送到关联文章发送邮件提醒队列【立即发送提醒邮件给关联文章的作者及文章作者】 chengxiaoling start 20250609 + if(!empty($p_info['related'])){ + $iArticleId = empty($r_update['w_article_id']) ? 0 : $r_update['w_article_id']; + if(!empty($iArticleId)){ + Queue::push('app\api\job\RelatedArticle@fire', ['article_id' => $iArticleId], 'RelatedArticle'); + } + } + //推送到关联文章发送邮件提醒队列【立即发送提醒邮件给关联文章的作者及文章作者】 chengxiaoling end 20250609 return jsonSuccess([]); } else { return jsonError('system error:' . $res['msg']);