shish 6 年之前
父節點
當前提交
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){