🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
* [ ] 获得请求参数post ``` Request::post($Key = null, $Default = null); ``` Key(null|string):名称 Default (null|string....):默认内容 ***** ``` //获取整个post数组 Request::post(); ``` ``` //获取get数组的某一个值 Request::post('id'); ``` ``` //获取post数组的某一个值,如果get数组中不包含这个值则返回null //你也可以给post方法第二个参数传递一个默认值,如果post数组中没找到对应值则返回默认值 Request::post('id',1); ```