https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Access_Overview.html
$signature = $_GET["signature"];
$timestamp = $_GET["timestamp"];
$nonce = $_GET["nonce"];
$token = TOKEN;
$tmpArr = array($token, $timestamp, $nonce);
sort($tmpArr, SORT_STRING);
$tmpStr = implode( $tmpArr );
$tmpStr = sha1( $tmpStr );
if( $tmpStr == $signature ){
return true;
}else{
return false;
}
请问按照这个配置 为什么老是 token验证失败
运行的程序后缀要加上去,醉了
xxxxxx.com/index.php