1
This commit is contained in:
@@ -77,11 +77,11 @@ class Journal extends Controller {
|
||||
* @journalList title:标题 issn:issn editorinchief:editorinchief acceptance:acceptance finaldecision:finaldecision apc:apc
|
||||
*/
|
||||
public function getJournalList() {
|
||||
$where['j_journal.state'] = 0;
|
||||
$res = $this->journal_obj
|
||||
->field('j_journal.*,j_admin.realname realname')
|
||||
->join('j_admin', 'j_admin.admin_id = j_journal.editor_id', 'LEFT')
|
||||
->where($where)
|
||||
->where('j_journal.state',0)
|
||||
->where('journal_id','<>',25)//临时去掉25号新刊
|
||||
->order(['j_journal.sort desc', 'j_journal.journal_id'])
|
||||
->select();
|
||||
return json(['code' => 0, 'msg' => 'success', 'data' => ['journalList' => $res]]);
|
||||
|
||||
Reference in New Issue
Block a user