2
我正在使用CodeIgniter的Rest Server(https://github.com/philsturgeon/codeigniter-restserver)擴展名,我正努力尋找關於如何設置方法內的授權級別。使用Rest服務器擴展CodeIgniter設置授權級別
我已經嘗試了所有的以下內容:
public function index_get()
{
$this->methods['index']['level'] = 10;
$this->methods['level'] = 10;
$this->rest->level = 10;
$this->level = 10;
}
沒有運氣。例子感激。謝謝!