1
This commit is contained in:
@@ -2156,7 +2156,12 @@ class Article extends Base
|
||||
foreach ($reviewers as $v) {
|
||||
$this->addRecommentReviewer($v, $journal_info['journal_id'], $user_res['user_id'], $data['article_id']);
|
||||
}
|
||||
$this->article_obj->where('article_id', $data['article_id'])->update(['state' => 0,'ctime'=>time()]);
|
||||
$update_l['state'] = 0;
|
||||
$update_l['ctime'] = time();
|
||||
if(isset($data['code'])&&$data['code']!=''){
|
||||
$update_l['code'] = trim($data['code']);
|
||||
}
|
||||
$this->article_obj->where('article_id', $data['article_id'])->update($update_l);
|
||||
$this->ai_scor($data['article_id']);
|
||||
return json(['code' => 0]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user