1
This commit is contained in:
@@ -89,7 +89,7 @@ class Journal extends Base {
|
||||
public function getJournalByeditor()
|
||||
{
|
||||
$user_id = $this->request->post('user_id');
|
||||
$list = $this->journal_obj->where('editor_id',$user_id)->select();
|
||||
$list = $this->journal_obj->where('editor_id',$user_id)->where("state",0)->select();
|
||||
$re['journals'] = $list;
|
||||
return jsonSuccess($re);
|
||||
}
|
||||
|
||||
@@ -118,6 +118,19 @@ class User extends Base
|
||||
}else{
|
||||
$where['email'] = ["<>",""];
|
||||
}
|
||||
if(isset($data['doi'])&&$data['doi']!=''){
|
||||
if(strpos($data['doi'],"10.53388/")){
|
||||
$doi = substr($data['doi'],9);
|
||||
}else{
|
||||
$doi = trim($data['doi']);
|
||||
}
|
||||
$p_info = $this->production_article_obj->where("doi",$doi)->where("state",2)->find();
|
||||
if($p_info&&$p_info['article_id']>0){
|
||||
$where['article_id'] = $p_info['article_id'];
|
||||
}else{
|
||||
return jsonError("not find");
|
||||
}
|
||||
}
|
||||
$authors = $this->article_author_obj->where($where)->group("email")->order("art_aut_id desc")->page($data['page'],$data['limit'])->select();
|
||||
$count = $this->article_author_obj->where($where)->group("email")->order("art_aut_id desc")->count();
|
||||
foreach ($authors as $k =>$v){
|
||||
|
||||
Reference in New Issue
Block a user