Files
journal/application/master/controller/Article.php
wangjinlei b6456b3833 20201112
2020-11-18 09:20:03 +08:00

54 lines
1.2 KiB
PHP

<?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');
}
/**
* @title 添加文章
* @description 添加文章
* @author wangjinleichang
* @url /master/Article/addArticle
* @method POST
*
* @param name:journal_topic_id type:int require:1 desc:主键
*/
public function addArticle(){
}
/**
* @title 获取文章列表
* @description 获取文章列表
* @author wangjinleichang
* @url /master/Article/getArticleList
* @method POST
*
* @param name:journal_topic_id type:int require:1 desc:主键
*/
public function getArticleList(){
}
}