20201112
This commit is contained in:
@@ -160,7 +160,7 @@ class Reviewer extends Controller {
|
|||||||
public function getAFilelistByID(){
|
public function getAFilelistByID(){
|
||||||
$rev_id = $this->request->post('revid');
|
$rev_id = $this->request->post('revid');
|
||||||
$article_rev_info = $this->article_reviewer_obj->where('art_rev_id',$rev_id)->find();
|
$article_rev_info = $this->article_reviewer_obj->where('art_rev_id',$rev_id)->find();
|
||||||
$file_list = $this->article_file_obj->where('article_id',$article_rev_info['article_id'])->where('type_name','manuscirpt')->select();
|
$file_list = $this->article_file_obj->where('article_id',$article_rev_info['article_id'])->where('type_name','manuscirpt')->order('file_id desc')->limit(1)->select();
|
||||||
return json(['data'=>$file_list]);
|
return json(['data'=>$file_list]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user