🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
* [ ] 获取获访问参数 ``` Frame::GetWeb($Key = null, $Default = null); ``` Key(null|int):取第几个,从0起 Default (null|string....):默认内容 ***** ``` <?php class index{ public function main() { echo 'hello_'.Frame::GetWeb(0); } } // index/main_zqphp 输出:hello_zqphp ``` ``` //获取整个数组 Frame::GetWeb(); ``` ``` //获取数组值 Frame::GetWeb(1); ``` ``` //获取数组的某一个值,如果数组中不包含这个值则返回null //你也可以给方法第二个参数传递一个默认值,如果数组中没找到对应值则返回默认值 Frame::GetWeb(2,'test'); ```