123456789101112131415161718192021222324252627 |
- <?php
- namespace app\api\controller;
- use app\common\controller\Api;
- use think\Db;
- /**
- * 首页接口
- */
- class Appindex extends Api
- {
- protected $noNeedLogin = ['*'];
- protected $noNeedRight = ['*'];
- /**
- * 首页
- *
- */
- public function getBanner()
- {
- $where['status']=1;
- $banner = Db::name('message_read')->where($where)->select();
- $this->success('',$banner);
- }
- }
|