This commit is contained in:
wangjinlei
2020-11-16 10:40:15 +08:00
parent 607d0f9cb6
commit 3c45856067
2 changed files with 114 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace app\master\controller;
use think\Controller;
use think\Db;
/**
* @title 文章接口
* @description 文章相关操作
* @group 文章相关
*/
class Article extends Controller {
//put your code here
protected $admin_obj = '';
protected $journal_obj = '';
protected $journal_topic_obj = '';
protected $journal_stage_obj = '';
public function __construct(\think\Request $request = null) {
parent::__construct($request);
$this->admin_obj = Db::name('admin');
$this->journal_obj = Db::name('journal');
$this->journal_topic_obj = Db::name('journal_topic');
}
}