$url = Request::getUri();//获取当前的url $arr = parse_url($url); //$arr_query = convertUrlQuery($arr['query']); parse_str($arr['query'],$queryarr); var_dump($queryarr);
$url = Request::getUri();//获取当前的url $arr = parse_url($url); //$arr_query = convertUrlQuery($arr['query']); parse_str($arr['query'],$queryarr); var_dump($queryarr);