发送邮件给关联文章的作者
This commit is contained in:
@@ -796,6 +796,15 @@ class Production extends Base
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//推送到生成AI内容队列 chengxiaoling end 20250530
|
//推送到生成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([]);
|
return jsonSuccess([]);
|
||||||
} else {
|
} else {
|
||||||
return jsonError('system error:' . $res['msg']);
|
return jsonError('system error:' . $res['msg']);
|
||||||
|
|||||||
Reference in New Issue
Block a user