north 7 years ago
parent
commit
297e8ff339
1 changed files with 1 additions and 1 deletions
  1. 1 1
      www/protected/modules/j/views/web/index.php

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

@@ -88,7 +88,7 @@
       console.log(appToken);
       if (!userID || !appToken) {
         localStorage.clear();
-        location.href = '<?php echo Yii::app()->request->baseUrl . '/j/web/wxIndex'; ?>';
+        location.href = '<?php echo Yii::app()->request->baseUrl . 'index.php?r=j/web/wxIndex'; ?>';
       }
       var uri = location.href
       if (uri.indexOf('state=yiguanjia') > -1 && userID && appToken) {