微信后台token验证失败

检查过系统日志,看不出什么异常
[ 2017-12-21T17:20:05+08:00 ] 103.7.30.104 GET /index.php/mp/entr/index/mid/2.html?signature=ef5e1bd3eeee3d3c11993433b3be63d5b02e12ce&echostr=4130188964407246061&timestamp=1513848005&nonce=2411323509
[ info ] 39.106.56.9/index.php/mp/entr/index/mid/2.html?signature=ef5e1bd3eeee3d3c11993433b3be63d5b02e12ce&echostr=4130188964407246061&timestamp=1513848005&nonce=2411323509 [运行时间:0.003247s][吞吐率:307.97req/s] [内存消耗:436.79kb] [文件加载:37]
[ info ] [ LANG ] /var/www/html/thinkphp/lang/zh-cn.php
[ info ] [ ROUTE ] array (
  'type' => 'module',
  'module' => 
  array (
    0 => 'mp',
    1 => 'entr',
    2 => 'index',
  ),
)
[ info ] [ HEADER ] array (
  'user-agent' => 'Mozilla/4.0',
  'accept' => '*/*',
  'host' => '39.106.56.9',
  'pragma' => 'no-cache',
  'connection' => 'Keep-Alive',
)
[ info ] [ PARAM ] array (
  'signature' => 'ef5e1bd3eeee3d3c11993433b3be63d5b02e12ce',
  'echostr' => '4130188964407246061',
  'timestamp' => '1513848005',
  'nonce' => '2411323509',
  'mid' => '2',
)
[ info ] [ BEHAVIOR ] Run app\behavior\Define @module_init [ RunTime:0.000014s ]
[ info ] [ BEHAVIOR ] Run app\behavior\ChangeTheme @module_init [ RunTime:0.000032s ]
[ info ] [ RUN ] app\mp\controller\Entr->index[ /var/www/html/application/mp/controller/Entr.php ]
[ info ] [ DB ] INIT mysql
[ info ] [ LOG ] INIT File
[ sql ] [ DB ] CONNECT:[ UseTime:0.000566s ] mysql:host=127.0.0.1;port=3306;dbname=xiaowei;charset=utf8mb4
[ sql ] [ SQL ] SHOW COLUMNS FROM `xiaowei_mp` [ RunTime:0.000622s ]
[ sql ] [ SQL ] SELECT * FROM `xiaowei_mp` WHERE  `id` = 2 LIMIT 1 [ RunTime:0.000544s ]


------------------------------------------------------
手工测试index.php/mp/entr/index/mid/2.html
得到 Access denied, 不知道是不是与这个有关????
 
已邀请:

geeson

赞同来自:

你这里是 IP 接入了,微信公众平台不接受 IP 的,需要备案的域名才行的

geeson

赞同来自:

微信公众平台不接受 IP 的,需要备案的域名才行的

该问题目前已经被锁定, 无法添加新回复