|
@@ -58,6 +58,9 @@ class WeixinService extends Service
|
|
$param = isset($data['param']) ? $data['param'] : '';
|
|
$param = isset($data['param']) ? $data['param'] : '';
|
|
$openid = $openid['openid'];
|
|
$openid = $openid['openid'];
|
|
|
|
|
|
|
|
+ $data['open_id'] = $openid;
|
|
|
|
+ file_put_contents('22.txt',json_encode($data));
|
|
|
|
+
|
|
//重定向前端地址
|
|
//重定向前端地址
|
|
$redirectFrontEndUrl = sprintf($config['redirectFrontEndUrl'],$uri,$openid,$param);
|
|
$redirectFrontEndUrl = sprintf($config['redirectFrontEndUrl'],$uri,$openid,$param);
|
|
header('Location:'.$redirectFrontEndUrl);
|
|
header('Location:'.$redirectFrontEndUrl);
|