获取客座期刊文章引用次数及话题
This commit is contained in:
@@ -394,6 +394,7 @@ class Special extends Controller {
|
||||
->where('j_article.journal_special_id',$data['journal_special_id'])
|
||||
->where('j_article.state',0)
|
||||
->select();
|
||||
|
||||
//获取作者
|
||||
foreach ($list as $k => $v) {
|
||||
$stage_info = $this->journal_stage_obj->where('journal_stage_id',$v['journal_stage_id'])->find();
|
||||
@@ -404,6 +405,11 @@ class Special extends Controller {
|
||||
$list[$k]['authortitle'] = $this->getAuthor($v);
|
||||
|
||||
$list[$k]['mains'] = getArticleMains($v['article_id']);
|
||||
//文章被引用次数和话题 chengxiaoling 20250926 start
|
||||
$list[$k]["cite_num"] = Db::name("article_cite")->where("article_id",$v['article_id'])->where("state",1)->where("is_wos",1)->count();
|
||||
$cache_topic = Db::name("article_to_topic")->field('j_journal_topic.*')->join('j_journal_topic', 'j_journal_topic.journal_topic_id = j_article_to_topic.topic_id', 'left')->where('j_article_to_topic.article_id', $v['article_id'])->where('j_article_to_topic.state', 0)->select();
|
||||
$list[$k]['topic'] = $cache_topic;
|
||||
//文章被引用次数 chengxiaoling 20250926 end
|
||||
}
|
||||
$re['articles'] = $list;
|
||||
return jsonSuccess($re);
|
||||
|
||||
Reference in New Issue
Block a user