zyx 2 éve
szülő
commit
ce51560855
1 módosított fájl, 16 hozzáadás és 0 törlés
  1. 16 0
      src/main/resources/templates/weixin-code.html

+ 16 - 0
src/main/resources/templates/weixin-code.html

@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <title>Title</title>
+</head>
+<body>
+<script th:inline="javascript">
+    /*<![CDATA[*/
+    var pre_auth_code = /*[[${pre_auth_code}]]*/ '';
+    window.location = 'https://mp.weixin.qq.com/cgi-bin/componentloginpage?' +
+        'component_appid=wx7040933fd0e4b0e8&pre_auth_code=' + pre_auth_code + '&redirect_uri=http%3A%2F%2Fopen.sxtvs.net%2Foauth%2Fweixin%2Fwx7040933fd0e4b0e8%2Fcallback&auth_type=1'
+    /*]]>*/
+</script>
+</body>
+</html>