Merge remote-tracking branch 'origin/master'

This commit is contained in:
wangjinlei
2025-06-12 11:41:22 +08:00
5 changed files with 413 additions and 1 deletions

View File

@@ -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']);