Browse Source

Merge branch 'test' of git.oschina.net:yiguanjia/php into test

north 8 years ago
parent
commit
506f28b368
1 changed files with 0 additions and 3 deletions
  1. 0 3
      www/protected/modules/o2o/views/web/index.php

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

@@ -72,10 +72,7 @@
       }
       var uri = location.href
       if (uri.indexOf('state=yiguanjia') > -1 && 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>');
     }