menu
more_vert
thinkphp传参

作者:dayu


use think\Request;

写法1:

$parms=Request::instance()->param();

$param=$params[‘键值‘];

写法2:

$request=Request::instance();

$param=$request->param(‘键值‘);

thinkphp传参

原文地址:http://www.cnblogs.com/LucklyPisces/p/7246913.html



Processed Time:0.22625088691711

_REQUEST:
Array
(
    [0] => read
    [1] => 94189
)
_SESSION:
Array
(
    [fid] => 4
)