token驗證失敗
$timestamp=$_GET['timestamp'];
$nonce?=?$_GET['nonce'];
$token?=?'weixin';
$signature?=?$_GET['signature'];
$array?=?array($timestamp,$nonce,$token);
sort($array);
$tmpstr?=?implode('',$array);
$tmpstr?=?sha1($tmpstr);
if(?$tmpstr?==?$signature){
????echo?$_GET['echostr'];
????exit;
}
2017-08-09
sae要實名認證的
2017-09-12
哎。這個錯誤我也是一直出現(xiàn),還是怪自己太小白了。配置號,先不要點提交,一定先再服務(wù)器上面寫驗證的代碼。寫好了,再點擊提交。我一直以為是其他原因,其實是我點了提交。而服務(wù)器根本就有這段驗證代碼。給大家提醒。
2017-08-12
是不是一要連上服務(wù)器才能驗證