DengTao 8 years ago
parent
commit
41a1d16978
1 changed files with 3 additions and 3 deletions
  1. 3 3
      www/protected/modules/moonclub/controllers/WebController.php

+ 3 - 3
www/protected/modules/moonclub/controllers/WebController.php

@@ -93,12 +93,12 @@ class WebController extends MoonClubBaseController {
     public function actionWxIndex() {
         $wxConfig = Yii::app()->params['wxConfig'];
         $home_page = Yii::app()->getRequest()->getParam("home_page",'');
-        $redirectURI = 'http://' . $_SERVER['HTTP_HOST'] . Yii::app()->request->baseUrl . '/o2o/web/index';
+        $redirectURI = 'http://' . $_SERVER['HTTP_HOST'] . Yii::app()->request->baseUrl . '/moonclub/web/index';
         if($home_page){
-            $appURI = Yii::app()->request->baseUrl . '/o2o/web/index'.'&home_page='.$home_page;
+            $appURI = Yii::app()->request->baseUrl . '/moonclub/web/index'.'&home_page='.$home_page;
             $redirectURI = $redirectURI.'/'.$home_page;
         }else{
-            $appURI = Yii::app()->request->baseUrl . '/o2o/web/index';
+            $appURI = Yii::app()->request->baseUrl . '/moonclub/web/index';
         }
         $scope = 'snsapi_userinfo';
         $state = 'yiguanjia';