DengTao 8 years ago
parent
commit
4ca30739ee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      www/protected/modules/moonclub/views/web/index.php

+ 1 - 1
www/protected/modules/moonclub/views/web/index.php

@@ -71,7 +71,7 @@
 
       if (!userID || !appToken) {
         localStorage.clear();
-        location.href = '<?php echo Yii::app()->request->baseUrl . '/moonclub/web/Index'; ?>';
+        location.href = '<?php echo Yii::app()->request->baseUrl . '/index.php?r=/moonclub/web/Index'; ?>';
       }
       document.write('<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"><\/script>');
     }