shish 6 лет назад
Родитель
Сommit
4efb3bdeae
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/mobile/views/main/index.php

+ 1 - 1
app/mobile/views/main/index.php

@@ -2,7 +2,7 @@
 <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
 <script>
     var code = encodeURIComponent('#main/index?account=12358');
-    window.location='<?= $host ?>/auth/prepare?suffixUrl=code&authScope=snsapi_base&account=12358';
+    window.location='<?= $host ?>/auth/prepare?suffixUrl='+code+'&authScope=snsapi_base&account=12358';
 
     /*
     function StandardPost(url,args){