north 8 tahun lalu
induk
melakukan
593832c6e7
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      www/protected/modules/o2o/views/web/index.php

+ 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') {