This commit is contained in:
wangjinlei
2023-07-17 17:21:27 +08:00
parent 32ae12e5b3
commit 46771c6fb3
3 changed files with 51 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ class Web extends Base
}
$production_info = $this->production_article_obj->where('w_article_id',$data['w_article_id'])->find();
if (!$production_info){//一次验证如果w_article_id获取失败
$production_info = $this->production_article_obj->where('doi',$data['doi'])->where('state',0)->find();
$production_info = $this->production_article_obj->where('doi',$data['doi'])->find();
}
if(!$production_info){//如果两次获取都失败