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> 最佳答案