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

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

@@ -93,7 +93,7 @@ class WebController extends MoonClubBaseController {
     public function actionWxIndex() {
         $wxConfig = Yii::app()->params['xyhWxConfig'];
         $home_page = Yii::app()->getRequest()->getParam("home_page",'');
-        $redirectURI = 'http://' . $_SERVER['HTTP_HOST'] . Yii::app()->request->baseUrl . 'index.php?r=/moonclub/web/index';
+        $redirectURI = 'http://' . $_SERVER['HTTP_HOST'] . Yii::app()->request->baseUrl . '/moonclub/web/index';
         if($home_page){
             $appURI = Yii::app()->request->baseUrl . 'index.php?r=/moonclub/web/index'.'&home_page='.$home_page;
             $redirectURI = $redirectURI.'/'.$home_page;