这样一试吧public function auth(){ if($_GET ['timestamp'] !=''&&$_GET ['nonce']!='' &&$_GET ['signature']!='' && $_GET["echostr"]!=''){ echo $_GET["echostr"];exit; }}这样验证应该是可以的呀