You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
347 B
16 lines
347 B
<?php
|
|
namespace app\api\controller;
|
|
|
|
use app\common\controller\Api;
|
|
|
|
class Notice extends Api {
|
|
protected $noNeedLogin = ['*'];
|
|
protected $noNeedRight = ['*'];
|
|
|
|
public function list() {
|
|
$model = new \app\admin\model\content\Notice();
|
|
$list = $model->paginate(10);
|
|
|
|
$this->success('公告列表', $list);
|
|
}
|
|
} |