付费求助 使用的ThinkPHP 3.1.3引入微信类token始终验证不过求助!

浏览:1316 发布日期:2014/12/01 分类:求助交流 关键字: 微信token
使用的ThinkPHP 3.1.3引入微信类token始终验证不过,控制器是访问正常的,添加了以下代码:
$str="ip".$_SERVER["REMOTE_ADDR"]." /n string".$_SERVER["QUERY_STRING"]." /n ---==echstr".$echoStr;
@file_put_contents("./1.txt",$str);
在微信后台提交一次生成一次1.txt的内容,但微信token提示验证失败,使用的是麦当苗儿的那个微信类,在控制器已经定义如下:
<?php
class WxmmAction extends baseAction

{

public function index()

{


import('@.ORG.Wechat');

$weixin = new Wechat('111weixin');


$data = $weixin->request();


}


}

Wechat.class.php放到了app/lib/ORG目录下,

求助!
最佳答案
评论( 相关
后面还有条评论,点击查看>>