1
This commit is contained in:
@@ -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