作者 郭鑫
1 个管道 的构建 通过 耗费 0 秒

测试问题修改

... ... @@ -294,7 +294,7 @@ class MemberController extends CommentController
if(empty($hire_mes['openid']) || empty($member_mes['openid'])){
$this->apiResponse('0','用户信息错误');
}
$acctoken = $this->getAccessToken();
$url = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=".$acctoken;
$send = array();
... ...
... ... @@ -39,6 +39,9 @@ class WxloginController extends HomeBaseController
$rediUrl = 'http://' .$_SERVER['HTTP_HOST'];
}
}
echo "<pre/>";
print_r($rediUrl);
die;
parent::_initialize(); // TODO: Change the autogenerated stub
if(!Session::get('user.accessToken')){
session('uid',null);
... ...