Преглед на файлове

授权成功页面调整

liuzejian преди 1 година
родител
ревизия
48456c3d2f
променени са 2 файла, в които са добавени 2 реда и са изтрити 10 реда
  1. 2 2
      resources/views/wechat/openPlatform/authSuccess.blade.php
  2. 0 8
      resources/views/wechat/openPlatform/preauth.blade.php

+ 2 - 2
resources/views/wechat/openPlatform/authSuccess.blade.php

@@ -3,6 +3,6 @@
 </h1>
 <script>
     setTimeout(function () {
-        window.open("{{ $url }}")
-    }, 3000)
+        window.open("{{ $url }}", '_self')
+    }, 500)
 </script>

+ 0 - 8
resources/views/wechat/openPlatform/preauth.blade.php

@@ -1,8 +0,0 @@
-<h1>
-    点击跳转, 正在跳转 : <a href="{{ $url }}">{{ $url }}</a>
-</h1>
-<script>
-    setTimeout(function () {
-        window.open("{{ $url }}")
-    }, 500)
-</script>