怎么去掉thinkphp5 请求里面给我增加的$_REQUEST['s']

浏览:1302 发布日期:2019/07/09 分类:ThinkPHP5专区 关键字: 请求 $_REQUEST
如题,我请求链接的时候,怎么会多出来一个$_REQUEST['s']参数p($_REQUEST);
p($this->request->request());
p($this->request->param());
p($this->request->input());
<pre>Array
(
    [s] => //new_api/SimulatedTransaction/stockBuy
    [stock] => sh600519
    [quantity] => 100
    [buy_price] => 982.44
)
</pre>
<pre>Array
(
    [s] => //new_api/SimulatedTransaction/stockBuy
    [stock] => sh600519
    [quantity] => 100
    [buy_price] => 982.44
)
</pre>
<pre>Array
(
    [stock] => sh600519
    [quantity] => 100
    [buy_price] => 982.44
    [controller] => SimulatedTransaction
    [function] => stockBuy
)
</pre>
<pre>Array
(
)
</pre>
最佳答案
评论( 相关
后面还有条评论,点击查看>>