摘要: public function index(){ $url = $_SERVER['QUERY_STRING']; $str = substr($url,strrpos($url,'/')+1); $data = substr($str,0,strrpos($str,'.')); dump($dat 阅读全文