DengTao 8 년 전
부모
커밋
8ee73d0668
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      www/protected/modules/moonclub/views/web/wxIndex.php
  2. 1 1
      www/protected/modules/o2o/views/web/index.php

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

@@ -20,7 +20,7 @@
 
         var wxUserID = localStorage.getItem('xyhwxUserID');
         if (wxUserID) {
-            location.href = appURI+'&userId='+wxUserID;
+            location.href = appURI;
         } else {
             location.href = codeURI;
         }

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

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