This commit is contained in:
wangjinlei
2022-03-01 19:08:29 +08:00
parent 7b0edf5da5
commit 413ad160c0
6 changed files with 62 additions and 12 deletions

View File

@@ -706,7 +706,7 @@ class Chief extends Controller {
$article_info = $this->article_obj->where('article_id',$data['article_id'])->find();
$journal_info = $this->journal_obj->where('journal_id',$article_info['journal_id'])->find();
$board_info = $this->user_obj->where('user_id',$data['board_id'])->find();
$board_rev_info = $this->user_reviewer_info_obj->where("reviewer_id",$board_info['user_id'])->find();
// $board_rev_info = $this->user_reviewer_info_obj->where("reviewer_id",$board_info['user_id'])->find();
$check = $this->article_to_board_obj->where('article_id',$data['article_id'])->where('board_id',$data['board_id'])->find();
if($check!=null){
return jsonError('Applied!');