init: import production code mss.nahaichuan.com (exclude Runtime/Uploads/backups/logs)
这个提交包含在:
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace Delivery\Controller;
|
||||
|
||||
use app\common\controller\Api;
|
||||
|
||||
|
||||
/**
|
||||
* 文章接口
|
||||
*/
|
||||
class Article extends BaseController
|
||||
{
|
||||
protected $noNeedLogin = ['*'];
|
||||
protected $noNeedRight = '*';
|
||||
|
||||
/**
|
||||
* 文章详情
|
||||
*/
|
||||
public function info(){
|
||||
$type = $this->request->post("type");
|
||||
$articleModel = new \app\admin\model\paotui\Article();
|
||||
$articleInfo = $articleModel->where(['category_id'=>$type])->find();
|
||||
$this->success("请求成功",$articleInfo);
|
||||
}
|
||||
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户