参考文献页码处理
This commit is contained in:
@@ -88,7 +88,7 @@ class ProductionArticleRefer
|
|||||||
$aWhere = ['p_refer_id' => $iPReferId];
|
$aWhere = ['p_refer_id' => $iPReferId];
|
||||||
$result = Db::name('production_article_refer')->where($aWhere)->limit(1)->update($aUpdate);
|
$result = Db::name('production_article_refer')->where($aWhere)->limit(1)->update($aUpdate);
|
||||||
//写入通过AI获取参考文献详情队列
|
//写入通过AI获取参考文献详情队列
|
||||||
\think\Queue::push('app\api\job\AiCheckReferByDoi@fire',$aParam,'AiCheckReferByDoi');
|
// \think\Queue::push('app\api\job\AiCheckReferByDoi@fire',$aParam,'AiCheckReferByDoi');
|
||||||
return json_encode(array('status' => 2,'msg' => 'The data obtained from the interface is empty'.$url));
|
return json_encode(array('status' => 2,'msg' => 'The data obtained from the interface is empty'.$url));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -100,8 +100,7 @@ class ProductionArticleRefer
|
|||||||
$update['refer_frag'] = $f;
|
$update['refer_frag'] = $f;
|
||||||
$update['cs'] = 1;
|
$update['cs'] = 1;
|
||||||
//写入通过AI获取参考文献详情队列
|
//写入通过AI获取参考文献详情队列
|
||||||
$aParam['is_split_fail'] = 1;
|
// \think\Queue::push('app\api\job\AiCheckReferByDoi@fire',$aParam,'AiCheckReferByDoi');
|
||||||
\think\Queue::push('app\api\job\AiCheckReferByDoi@fire',$aParam,'AiCheckReferByDoi');
|
|
||||||
}
|
}
|
||||||
if (mb_substr_count($frag, '.') == 3){
|
if (mb_substr_count($frag, '.') == 3){
|
||||||
$res = explode('.', $frag);
|
$res = explode('.', $frag);
|
||||||
|
|||||||
Reference in New Issue
Block a user