1
This commit is contained in:
@@ -3480,7 +3480,8 @@ class Article extends Base
|
||||
$res = $this->user_obj->where('user_id', $user_id)->find();
|
||||
if ($res['type'] == 1) { // 作者 - 修改author_act,并发送给编辑发邮件
|
||||
$this->article_obj->where('article_id', $article_id)->update(['author_act' => 1]);
|
||||
$editor = $this->user_obj->where('user_id', $article['editor_id'])->find();
|
||||
$journal_info = $this->journal_obj->where("journal_id",$article['journal_id'])->find();
|
||||
$editor = $this->user_obj->where('user_id', $journal_info['editor_id'])->find();
|
||||
// 发邮件
|
||||
$content = 'Dear editor,<br>please check the new feedback.';
|
||||
sendEmail($editor['email'], $article['title'], $article['title'], $content, $article['email'], $article['epassword']);
|
||||
|
||||
Reference in New Issue
Block a user