1
This commit is contained in:
61
application/master/controller/Footer.php
Normal file
61
application/master/controller/Footer.php
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
<?php
|
||||||
|
namespace app\master\controller;
|
||||||
|
|
||||||
|
use think\Controller;
|
||||||
|
use think\Db;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @title 管理员接口
|
||||||
|
* @description 管理员相关操作
|
||||||
|
* @group 管理员相关
|
||||||
|
*/
|
||||||
|
class Footer extends Controller
|
||||||
|
{
|
||||||
|
protected $admin_obj = '';
|
||||||
|
protected $journal_obj = '';
|
||||||
|
protected $article_obj = '';
|
||||||
|
protected $journal_topic_obj = '';
|
||||||
|
protected $journal_stage_obj = '';
|
||||||
|
protected $journal_line_obj = '';
|
||||||
|
protected $journal_notices_obj = '';
|
||||||
|
protected $journal_abs_obj = '';
|
||||||
|
protected $article_author_obj = '';
|
||||||
|
protected $article_to_topic_obj = '';
|
||||||
|
protected $article_to_line_obj = '';
|
||||||
|
protected $journal_cfp_obj = '';
|
||||||
|
protected $journal_paper_obj = '';
|
||||||
|
protected $journal_paper_art_obj = '';
|
||||||
|
protected $subscribe_journal_obj = '';
|
||||||
|
protected $subscribe_topic_obj = '';
|
||||||
|
protected $board_obj = '';
|
||||||
|
protected $board_group_obj = '';
|
||||||
|
protected $base_topic_obj = '';
|
||||||
|
protected $subscribe_base_topic_obj = '';
|
||||||
|
|
||||||
|
public function __construct(\think\Request $request = null) {
|
||||||
|
parent::__construct($request);
|
||||||
|
$this->admin_obj = Db::name('admin');
|
||||||
|
$this->journal_obj = Db::name('journal');
|
||||||
|
$this->article_obj = Db::name('article');
|
||||||
|
$this->journal_topic_obj = Db::name('journal_topic');
|
||||||
|
$this->journal_stage_obj = Db::name('journal_stage');
|
||||||
|
$this->journal_line_obj = Db::name('journal_line');
|
||||||
|
$this->journal_notices_obj = Db::name('journal_notices');
|
||||||
|
$this->journal_abs_obj = Db::name('journal_abstracting');
|
||||||
|
$this->article_author_obj = Db::name('article_author');
|
||||||
|
$this->article_to_topic_obj = Db::name('article_to_topic');
|
||||||
|
$this->article_to_line_obj = Db::name('article_to_line');
|
||||||
|
$this->journal_cfp_obj = Db::name('journal_cfp');
|
||||||
|
$this->journal_paper_obj = Db::name('journal_paper');
|
||||||
|
$this->journal_paper_art_obj = Db::name('journal_paper_art');
|
||||||
|
$this->subscribe_journal_obj = Db::name('subscribe_journal');
|
||||||
|
$this->subscribe_topic_obj = Db::name('subscribe_topic');
|
||||||
|
$this->board_obj = Db::name('board');
|
||||||
|
$this->board_group_obj = Db::name('board_group');
|
||||||
|
$this->base_topic_obj = Db::name('base_topic');
|
||||||
|
$this->subscribe_base_topic_obj = Db::name('subscribe_base_topic');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user