1
This commit is contained in:
@@ -576,7 +576,14 @@ class Journal extends Controller {
|
||||
->order($order)
|
||||
->select();
|
||||
$stage_info = $this->journal_stage_obj->where('journal_stage_id', $journal_info['publish_stage_id'])->find();
|
||||
return json(['code' => 0, 'msg' => 'success', 'data' => ['stage' => $stage_info, 'articleList' => strongArticleList($list)]]);
|
||||
|
||||
$list = strongArticleList($list);
|
||||
foreach ($list as $k => $v){
|
||||
$cache_topic = $this->article_to_topic_obj->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;
|
||||
}
|
||||
|
||||
return json(['code' => 0, 'msg' => 'success', 'data' => ['stage' => $stage_info, 'articleList' => $list]]);
|
||||
}
|
||||
|
||||
private function getAuthor($article) {
|
||||
|
||||
@@ -302,7 +302,7 @@ function strongArticleList($list){
|
||||
$list[$k]["cite_num"] = $article_cite_obj->where("article_id",$v['article_id'])->where("state",1)->where("is_wos",1)->count();
|
||||
$list[$k]['stage_year'] = $stage_info['stage_year'];
|
||||
$list[$k]['journal_short'] = $journal_info["jabbr"];
|
||||
$list[$k]['journal_title'] = $journal_info['title'];
|
||||
$list[$k]['journal_title'] = choiseti1($v['article_id'],$journal_info['title']);
|
||||
$list[$k]['stage_vol'] = $stage_info['stage_vol'];
|
||||
$list[$k]['stage_no'] = $stage_info['stage_no'];
|
||||
$list[$k]['usx'] = $journal_info['usx'];
|
||||
|
||||
Reference in New Issue
Block a user