<?php namespace app\api\controller; use app\common\controller\Api; use think\Db; /** * 活动 */ class Active extends Api { protected $noNeedLogin = ['lists']; protected $noNeedRight = ['*']; public function index() { } }