1234567891011121314151617181920212223242526 |
- <?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();
- }
- }
|