DengTao 8 жил өмнө
parent
commit
1c0fd53e96

+ 1 - 0
www/protected/modules/common/controllers/ActivityController.php

@@ -138,6 +138,7 @@ class ActivityController extends O2oBaseController  {
         }
         }
         $scope = 'snsapi_userinfo';
         $scope = 'snsapi_userinfo';
         $state = 'yiguanjia';
         $state = 'yiguanjia';
+        var_dump($redirectURI);
         $codeURI = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' . $wxConfig['appId'] . '&redirect_uri=' . urlencode($redirectURI) . '&response_type=code&scope=' . $scope . '&state=' . $state . '#wechat_redirect';
         $codeURI = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' . $wxConfig['appId'] . '&redirect_uri=' . urlencode($redirectURI) . '&response_type=code&scope=' . $scope . '&state=' . $state . '#wechat_redirect';
 
 
         $this->renderpartial('wxIndex', array(
         $this->renderpartial('wxIndex', array(