diff --git a/application/api/controller/Journal.php b/application/api/controller/Journal.php index 43a0f80..6430652 100644 --- a/application/api/controller/Journal.php +++ b/application/api/controller/Journal.php @@ -154,7 +154,6 @@ class Journal extends Controller { //组合cite信息 $no = $stage_info['stage_no'] == 0 ? ':' : '(' . $stage_info['stage_no'] . '):'; $cite = $v['abbr'] . '. ' . $v['title'] . '. ' . $journal_info['jabbr'] . '. ' . $stage_info['stage_year'] . ';' . $stage_info['stage_vol'] . $no . $v['npp'] . '. doi:' . $v['doi']; -// $v['abbr'].' '.$v['title'].' '.$journal_info['jabbr'].' '.$stage_info['stage_year'].';'.$stage_info['stage_vol'].$no.$v['npp'].'. doi:'.$v['doi']; $list[$k]['cite'] = $cite; $list[$k]['authortitle'] = $this->getAuthor($v); } @@ -167,10 +166,8 @@ class Journal extends Controller { } $list[$k]['title'] = $cache_title; } - return json(['code' => 0, 'msg' => 'success', 'data' => ['stage' => $stage_info, 'articleList' => $list]]); } - private function getAuthor($article) { $where['article_id'] = $article['article_id']; $where['state'] = 0;