|
@@ -99,7 +99,7 @@ class ActivityController extends O2oBaseController {
|
|
|
));
|
|
|
}else{
|
|
|
|
|
|
- $this->renderpartial('wxIndex', array(
|
|
|
+ $this->renderpartial('getCoupon', array(
|
|
|
'version' => '2015111601',
|
|
|
'debug' => 'false',
|
|
|
'signPackage' => $signPackage,
|
|
@@ -130,7 +130,7 @@ class ActivityController extends O2oBaseController {
|
|
|
$scope = 'snsapi_userinfo';
|
|
|
$state = 'yiguanjia';
|
|
|
$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';
|
|
|
-
|
|
|
+ print_r($codeURI);
|
|
|
$this->renderpartial('wxIndex', array(
|
|
|
'codeURI' => $codeURI,
|
|
|
'appURI' => $appURI
|