north 8 жил өмнө
parent
commit
593832c6e7

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

@@ -70,12 +70,12 @@
         localStorage.clear();
         location.href = '<?php echo Yii::app()->request->baseUrl . '/o2o/web/wxIndex'; ?>';
       }
-      if (userID && appToken) {
+     /* if (userID && appToken) {
         window.onload=function(){
           console.log("window onload");
           window.location.href='http://commontest.yiguanjia.me/index.php?r=o2o/web/index';
         }
-      }
+      }*/
       document.write('<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"><\/script>');
     }
     if (location.hash == '#rd') {