yuliang 5 éve
szülő
commit
89373eef7e
71 módosított fájl, 227 hozzáadás és 28 törlés
  1. 1 0
      whepi-ui/css/app.0d06b8fd.css
  2. 1 0
      whepi-ui/css/chunk-4ed49933.df312b50.css
  3. 1 0
      whepi-ui/css/chunk-5562ea1c.54dc77dc.css
  4. 1 0
      whepi-ui/css/chunk-5b624388.44a53004.css
  5. 1 0
      whepi-ui/css/chunk-5ef44a67.064a2e94.css
  6. 1 0
      whepi-ui/css/chunk-6ab6e507.55e9460c.css
  7. 1 0
      whepi-ui/css/chunk-6cdc4b15.f5c344f0.css
  8. 1 0
      whepi-ui/css/chunk-72ab68c2.f5f5ee37.css
  9. 1 0
      whepi-ui/css/chunk-737f8e34.2e115144.css
  10. 1 0
      whepi-ui/css/chunk-74539060.70649e80.css
  11. 1 0
      whepi-ui/css/chunk-ab14af0e.637b2b96.css
  12. 1 0
      whepi-ui/css/chunk-c500236c.9334b350.css
  13. 1 0
      whepi-ui/css/chunk-dbc2a580.f2b98efb.css
  14. 1 0
      whepi-ui/css/chunk-f5b633fe.6ac591b9.css
  15. 1 0
      whepi-ui/css/chunk-f6ad3f88.28c88e88.css
  16. 1 0
      whepi-ui/css/chunk-fbdc2710.52dfe2b6.css
  17. 1 0
      whepi-ui/css/chunk-vendors.58740506.css
  18. BIN
      whepi-ui/favicon.ico
  19. 57 0
      whepi-ui/index.html
  20. 2 0
      whepi-ui/js/app.93cf23f0.js
  21. 1 0
      whepi-ui/js/app.93cf23f0.js.map
  22. 2 0
      whepi-ui/js/chunk-2ca1646c.42d41cf3.js
  23. 1 0
      whepi-ui/js/chunk-2ca1646c.42d41cf3.js.map
  24. 2 0
      whepi-ui/js/chunk-2d0cb6c2.28c553d1.js
  25. 1 0
      whepi-ui/js/chunk-2d0cb6c2.28c553d1.js.map
  26. 2 0
      whepi-ui/js/chunk-2d0d3628.ddbfa8dd.js
  27. 1 0
      whepi-ui/js/chunk-2d0d3628.ddbfa8dd.js.map
  28. 2 0
      whepi-ui/js/chunk-2d0e146b.ace28509.js
  29. 1 0
      whepi-ui/js/chunk-2d0e146b.ace28509.js.map
  30. 2 0
      whepi-ui/js/chunk-2d2291e5.bb4d3abf.js
  31. 1 0
      whepi-ui/js/chunk-2d2291e5.bb4d3abf.js.map
  32. 2 0
      whepi-ui/js/chunk-2d22b973.04855e3e.js
  33. 1 0
      whepi-ui/js/chunk-2d22b973.04855e3e.js.map
  34. 2 0
      whepi-ui/js/chunk-4ed49933.8edc234e.js
  35. 1 0
      whepi-ui/js/chunk-4ed49933.8edc234e.js.map
  36. 2 0
      whepi-ui/js/chunk-5562ea1c.79ac22cd.js
  37. 1 0
      whepi-ui/js/chunk-5562ea1c.79ac22cd.js.map
  38. 2 0
      whepi-ui/js/chunk-5b624388.e0a00440.js
  39. 1 0
      whepi-ui/js/chunk-5b624388.e0a00440.js.map
  40. 2 0
      whepi-ui/js/chunk-5ef44a67.4c551877.js
  41. 1 0
      whepi-ui/js/chunk-5ef44a67.4c551877.js.map
  42. 2 0
      whepi-ui/js/chunk-6ab6e507.ddbf44c7.js
  43. 1 0
      whepi-ui/js/chunk-6ab6e507.ddbf44c7.js.map
  44. 2 0
      whepi-ui/js/chunk-6cdc4b15.d99732e6.js
  45. 1 0
      whepi-ui/js/chunk-6cdc4b15.d99732e6.js.map
  46. 2 0
      whepi-ui/js/chunk-72ab68c2.7607cd2d.js
  47. 1 0
      whepi-ui/js/chunk-72ab68c2.7607cd2d.js.map
  48. 2 0
      whepi-ui/js/chunk-737f8e34.a2fc7003.js
  49. 1 0
      whepi-ui/js/chunk-737f8e34.a2fc7003.js.map
  50. 2 0
      whepi-ui/js/chunk-74539060.e77047f8.js
  51. 1 0
      whepi-ui/js/chunk-74539060.e77047f8.js.map
  52. 2 0
      whepi-ui/js/chunk-ab14af0e.a00dd59c.js
  53. 1 0
      whepi-ui/js/chunk-ab14af0e.a00dd59c.js.map
  54. 2 0
      whepi-ui/js/chunk-c500236c.ac9086ef.js
  55. 1 0
      whepi-ui/js/chunk-c500236c.ac9086ef.js.map
  56. 2 0
      whepi-ui/js/chunk-dbc2a580.4e4c4910.js
  57. 1 0
      whepi-ui/js/chunk-dbc2a580.4e4c4910.js.map
  58. 2 0
      whepi-ui/js/chunk-f5b633fe.ea217d56.js
  59. 1 0
      whepi-ui/js/chunk-f5b633fe.ea217d56.js.map
  60. 2 0
      whepi-ui/js/chunk-f6ad3f88.3f1b4281.js
  61. 1 0
      whepi-ui/js/chunk-f6ad3f88.3f1b4281.js.map
  62. 2 0
      whepi-ui/js/chunk-fbdc2710.e57e7b8a.js
  63. 1 0
      whepi-ui/js/chunk-fbdc2710.e57e7b8a.js.map
  64. 19 0
      whepi-ui/js/chunk-vendors.9a6cea8f.js
  65. 1 0
      whepi-ui/js/chunk-vendors.9a6cea8f.js.map
  66. 12 10
      whepi-ui/templates/ok.html
  67. 30 0
      whepi-ui/www1.html
  68. 8 8
      whepi-web/src/main/java/com/bofeng/controller/RootController.java
  69. 4 4
      whepi-web/src/main/java/com/bofeng/controller/UserController.java
  70. 12 5
      whepi-web/src/main/java/com/bofeng/controller/WxUserOpenController.java
  71. 1 1
      whepi-web/src/main/java/com/bofeng/wx/WxController.java

+ 1 - 0
whepi-ui/css/app.0d06b8fd.css

@@ -0,0 +1 @@
+body{font-size:.42667rem;background-color:#f8f8f8;-webkit-font-smoothing:antialiased}

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/css/chunk-4ed49933.df312b50.css


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/css/chunk-5562ea1c.54dc77dc.css


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/css/chunk-5b624388.44a53004.css


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/css/chunk-5ef44a67.064a2e94.css


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/css/chunk-6ab6e507.55e9460c.css


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/css/chunk-6cdc4b15.f5c344f0.css


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/css/chunk-72ab68c2.f5f5ee37.css


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/css/chunk-737f8e34.2e115144.css


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/css/chunk-74539060.70649e80.css


+ 1 - 0
whepi-ui/css/chunk-ab14af0e.637b2b96.css

@@ -0,0 +1 @@
+.address{overflow:hidden}.address-title{height:8vh;position:relative}.address-title-txt{padding-left:.5rem;font-size:.5rem}.address-input{height:82vh;color:#505050;overflow:auto}.address-input-view{margin:0;font-size:.4rem;padding:.2rem 2rem}.address-input-view .van-cell{padding:.1rem .2rem;background-color:#e5e5e5}.address-input-code{margin:0;font-size:.4rem;padding:.2rem 2rem}.address-input-code .van-cell{padding:.1rem .2rem;border:.02667rem solid #999}.address-btn{height:10vh}

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/css/chunk-c500236c.9334b350.css


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/css/chunk-dbc2a580.f2b98efb.css


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/css/chunk-f5b633fe.6ac591b9.css


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/css/chunk-f6ad3f88.28c88e88.css


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/css/chunk-fbdc2710.52dfe2b6.css


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/css/chunk-vendors.58740506.css


BIN
whepi-ui/favicon.ico


+ 57 - 0
whepi-ui/index.html

@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset=utf-8>
+    <meta http-equiv=X-UA-Compatible content="IE=edge">
+    <meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,viewport-fit=cover">
+    <link rel=icon href=/favicon.ico>
+    <title>抗击疫情</title>
+    <link href=/css/chunk-4ed49933.df312b50.css rel=prefetch>
+    <link href=/css/chunk-5562ea1c.54dc77dc.css rel=prefetch>
+    <link href=/css/chunk-5b624388.44a53004.css rel=prefetch>
+    <link href=/css/chunk-5ef44a67.064a2e94.css rel=prefetch>
+    <link href=/css/chunk-6ab6e507.55e9460c.css rel=prefetch>
+    <link href=/css/chunk-6cdc4b15.f5c344f0.css rel=prefetch>
+    <link href=/css/chunk-72ab68c2.f5f5ee37.css rel=prefetch>
+    <link href=/css/chunk-737f8e34.2e115144.css rel=prefetch>
+    <link href=/css/chunk-74539060.70649e80.css rel=prefetch>
+    <link href=/css/chunk-ab14af0e.637b2b96.css rel=prefetch>
+    <link href=/css/chunk-c500236c.9334b350.css rel=prefetch>
+    <link href=/css/chunk-dbc2a580.f2b98efb.css rel=prefetch>
+    <link href=/css/chunk-f5b633fe.6ac591b9.css rel=prefetch>
+    <link href=/css/chunk-f6ad3f88.28c88e88.css rel=prefetch>
+    <link href=/css/chunk-fbdc2710.52dfe2b6.css rel=prefetch>
+    <link href=/js/chunk-2ca1646c.42d41cf3.js rel=prefetch>
+    <link href=/js/chunk-2d0cb6c2.28c553d1.js rel=prefetch>
+    <link href=/js/chunk-2d0d3628.ddbfa8dd.js rel=prefetch>
+    <link href=/js/chunk-2d0e146b.ace28509.js rel=prefetch>
+    <link href=/js/chunk-2d2291e5.bb4d3abf.js rel=prefetch>
+    <link href=/js/chunk-2d22b973.04855e3e.js rel=prefetch>
+    <link href=/js/chunk-4ed49933.8edc234e.js rel=prefetch>
+    <link href=/js/chunk-5562ea1c.79ac22cd.js rel=prefetch>
+    <link href=/js/chunk-5b624388.e0a00440.js rel=prefetch>
+    <link href=/js/chunk-5ef44a67.4c551877.js rel=prefetch>
+    <link href=/js/chunk-6ab6e507.ddbf44c7.js rel=prefetch>
+    <link href=/js/chunk-6cdc4b15.d99732e6.js rel=prefetch>
+    <link href=/js/chunk-72ab68c2.7607cd2d.js rel=prefetch>
+    <link href=/js/chunk-737f8e34.a2fc7003.js rel=prefetch>
+    <link href=/js/chunk-74539060.e77047f8.js rel=prefetch>
+    <link href=/js/chunk-ab14af0e.a00dd59c.js rel=prefetch>
+    <link href=/js/chunk-c500236c.ac9086ef.js rel=prefetch>
+    <link href=/js/chunk-dbc2a580.4e4c4910.js rel=prefetch>
+    <link href=/js/chunk-f5b633fe.ea217d56.js rel=prefetch>
+    <link href=/js/chunk-f6ad3f88.3f1b4281.js rel=prefetch>
+    <link href=/js/chunk-fbdc2710.e57e7b8a.js rel=prefetch>
+    <link href=/css/app.0d06b8fd.css rel=preload as=style>
+    <link href=/css/chunk-vendors.58740506.css rel=preload as=style>
+    <link href=/js/app.93cf23f0.js rel=preload as=script>
+    <link href=/js/chunk-vendors.9a6cea8f.js rel=preload as=script>
+    <link href=/css/chunk-vendors.58740506.css rel=stylesheet>
+    <link href=/css/app.0d06b8fd.css rel=stylesheet>
+</head>
+<body>
+<div id=app></div>
+<script src=/js/chunk-vendors.9a6cea8f.js></script>
+<script src=/js/app.93cf23f0.js></script>
+</body>
+</html>

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 0
whepi-ui/js/app.93cf23f0.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/app.93cf23f0.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 0
whepi-ui/js/chunk-2ca1646c.42d41cf3.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-2ca1646c.42d41cf3.js.map


+ 2 - 0
whepi-ui/js/chunk-2d0cb6c2.28c553d1.js

@@ -0,0 +1,2 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0cb6c2"],{"4a32":function(e,n,t){"use strict";t.r(n);var c=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("router-view")},u=[],r=t("2877"),l={},a=Object(r["a"])(l,c,u,!1,null,null,null);n["default"]=a.exports}}]);
+//# sourceMappingURL=chunk-2d0cb6c2.28c553d1.js.map

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-2d0cb6c2.28c553d1.js.map


+ 2 - 0
whepi-ui/js/chunk-2d0d3628.ddbfa8dd.js

@@ -0,0 +1,2 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0d3628"],{"5d14":function(e,n,t){"use strict";t.r(n);var c=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div")},i=[],u={name:"communityEpidemic"},d=u,a=t("2877"),o=Object(a["a"])(d,c,i,!1,null,"1e382d83",null);n["default"]=o.exports}}]);
+//# sourceMappingURL=chunk-2d0d3628.ddbfa8dd.js.map

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-2d0d3628.ddbfa8dd.js.map


+ 2 - 0
whepi-ui/js/chunk-2d0e146b.ace28509.js

@@ -0,0 +1,2 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0e146b"],{"7a6a":function(e,n,t){"use strict";t.r(n);var u=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("router-view")},r=[],a=t("2877"),c={},l=Object(a["a"])(c,u,r,!1,null,null,null);n["default"]=l.exports}}]);
+//# sourceMappingURL=chunk-2d0e146b.ace28509.js.map

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-2d0e146b.ace28509.js.map


+ 2 - 0
whepi-ui/js/chunk-2d2291e5.bb4d3abf.js

@@ -0,0 +1,2 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d2291e5"],{dba2:function(n,e,t){"use strict";t.r(e);var c=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div")},u=[],a={name:"communityBulletin"},i=a,l=t("2877"),o=Object(l["a"])(i,c,u,!1,null,"c11f4376",null);e["default"]=o.exports}}]);
+//# sourceMappingURL=chunk-2d2291e5.bb4d3abf.js.map

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-2d2291e5.bb4d3abf.js.map


+ 2 - 0
whepi-ui/js/chunk-2d22b973.04855e3e.js

@@ -0,0 +1,2 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d22b973"],{f02e:function(e,n,t){"use strict";t.r(n);var c=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div")},u=[],a={name:"countryEpidemic"},i=a,r=t("2877"),o=Object(r["a"])(i,c,u,!1,null,"877434ae",null);n["default"]=o.exports}}]);
+//# sourceMappingURL=chunk-2d22b973.04855e3e.js.map

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-2d22b973.04855e3e.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 0
whepi-ui/js/chunk-4ed49933.8edc234e.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-4ed49933.8edc234e.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 0
whepi-ui/js/chunk-5562ea1c.79ac22cd.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-5562ea1c.79ac22cd.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 0
whepi-ui/js/chunk-5b624388.e0a00440.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-5b624388.e0a00440.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 0
whepi-ui/js/chunk-5ef44a67.4c551877.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-5ef44a67.4c551877.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 0
whepi-ui/js/chunk-6ab6e507.ddbf44c7.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-6ab6e507.ddbf44c7.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 0
whepi-ui/js/chunk-6cdc4b15.d99732e6.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-6cdc4b15.d99732e6.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 0
whepi-ui/js/chunk-72ab68c2.7607cd2d.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-72ab68c2.7607cd2d.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 0
whepi-ui/js/chunk-737f8e34.a2fc7003.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-737f8e34.a2fc7003.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 0
whepi-ui/js/chunk-74539060.e77047f8.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-74539060.e77047f8.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 0
whepi-ui/js/chunk-ab14af0e.a00dd59c.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-ab14af0e.a00dd59c.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 0
whepi-ui/js/chunk-c500236c.ac9086ef.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-c500236c.ac9086ef.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 0
whepi-ui/js/chunk-dbc2a580.4e4c4910.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-dbc2a580.4e4c4910.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 0
whepi-ui/js/chunk-f5b633fe.ea217d56.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-f5b633fe.ea217d56.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 0
whepi-ui/js/chunk-f6ad3f88.3f1b4281.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-f6ad3f88.3f1b4281.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 0
whepi-ui/js/chunk-fbdc2710.e57e7b8a.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-fbdc2710.e57e7b8a.js.map


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 19 - 0
whepi-ui/js/chunk-vendors.9a6cea8f.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 0
whepi-ui/js/chunk-vendors.9a6cea8f.js.map


+ 12 - 10
whepi-ui/templates/ok.html

@@ -14,18 +14,20 @@
 </div>
 </body>
 </html>
+<script src="https://www.w3cways.com/demo/vconsole/vconsole.min.js?v=2.2.0"></script>
 <script>
   function clickwwwww() {
-    debugger;
-    $.ajax({
-      url: 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa3991865de920847&redirect_uri=http://yuliang.ng.yvanui.com/userOpen/loginTest&response_type=code&scope=snsapi_userinfo&state=123#wechat_redirect',
-      get: "get",
-      success: function (data) {
-        alert(data);
-        console.log(data);
-
-      },
-    });
+    window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa3991865de920847&redirect_uri=http://yuliang.ng.yvanui.com/userOpen/loginTest&response_type=code&scope=snsapi_userinfo&state=123#wechat_redirect';
+    // debugger;
+    // $.ajax({
+    //   url: 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa3991865de920847&redirect_uri=http://yuliang.ng.yvanui.com/userOpen/loginTest&response_type=code&scope=snsapi_userinfo&state=123#wechat_redirect',
+    //   get: "get",
+    //   success: function (data) {
+    //     alert(data);
+    //     console.log(data);
+    //
+    //   },
+    // });
   }
   (function ($) {
 

+ 30 - 0
whepi-ui/www1.html

@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <title>测试</title>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
+    <script src="/static/jquery/1.11.0/jquery.min.js"></script>
+</head>
+<body>
+<button style="height: 70px; width: 150px" onclick="click();"> 测试 </button>
+</body>
+<script>
+  (function ($) {
+
+  })(jQuery);
+
+  function click() {
+    debugger;
+    $.ajax({
+      url: 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa3991865de920847&redirect_uri=http://yuliang.ng.yvanui.com/userOpen/loginTest&response_type=code&scope=snsapi_userinfo&state=123#wechat_redirect',
+      get: "get",
+      success: function (data) {
+        alert(data);
+        console.log(data);
+
+      },
+    });
+  }
+</script>

+ 8 - 8
whepi-web/src/main/java/com/bofeng/controller/RootController.java

@@ -106,12 +106,12 @@ public class RootController {
         return Model.newSuccess(bofengProperties);
     }
 
-    @GetMapping(value = {"/"})
-    public ModelAndView index() {
-        if (!JwtHelper.isLogined()) {
-            return new ModelAndView(new RedirectViewJs("/user/login.html"));
-        }
-
-        return new ModelAndView(new RedirectViewJs("/admin/index.html"));
-    }
+//    @GetMapping(value = {"/"})
+//    public ModelAndView index() {
+////        if (!JwtHelper.isLogined()) {
+////            return new ModelAndView(new RedirectViewJs("/user/login.html"));
+////        }
+//
+//        return new ModelAndView(new RedirectViewJs("/index.html"));
+//    }
 }

+ 4 - 4
whepi-web/src/main/java/com/bofeng/controller/UserController.java

@@ -30,10 +30,10 @@ public class UserController {
     @Autowired
     private PlaceService placeService;
 
-    @GetMapping("/index.html")
-    public ModelAndView index() {
-        return new ModelAndView("/index.html");
-    }
+//    @GetMapping("/index.html")
+//    public ModelAndView index() {
+//        return new ModelAndView("/index.html");
+//    }
 
 //    @GetMapping("/user/logout.html")
 //    @PostMapping("/user/logout.html")

+ 12 - 5
whepi-web/src/main/java/com/bofeng/controller/WxUserOpenController.java

@@ -8,6 +8,7 @@ import com.bofeng.entity.UserRole;
 import com.bofeng.service.HomeService;
 import com.bofeng.service.WxUserOpenService;
 import com.yvan.Model;
+import com.yvan.platform.Conv;
 import com.yvan.platform.JsonWapper;
 import com.yvan.platform.StringUtils;
 import com.yvan.springmvc.HttpParameterParser;
@@ -17,6 +18,7 @@ import lombok.val;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RestController;
 
 import javax.servlet.http.HttpServletRequest;
@@ -55,11 +57,16 @@ public class WxUserOpenController {
     }
 
     @ApiOperation("用户注册页面点登录")
-    @GetMapping("/userOpen/login")
-    public Model<Long> login() {
-        val parser = HttpParameterParser.newInstance(HttpUtils.currentRequest());
-        String openId = parser.getString("openId");
-        String code = parser.getString("code");
+    @PostMapping("/userOpen/login")
+    public Model<Long> login(@RequestBody String body) {
+//        val parser = HttpParameterParser.newInstance(HttpUtils.currentRequest());
+//        String openId = parser.getString("openId");
+//        String code = parser.getString("code");
+        JsonWapper jsonWapper = new JsonWapper(body);
+        Map map = jsonWapper.getInnerMap();
+        String openId = Conv.NS(map.get("openId"));
+        String code = Conv.NS(map.get("code"));
+
         if (StringUtils.isNullOrEmpty(code)) {
             return Model.newFail("code为空");
         }

+ 1 - 1
whepi-web/src/main/java/com/bofeng/wx/WxController.java

@@ -156,7 +156,7 @@ public class WxController {
         btnHelp.setType(WxConsts.MenuButtonType.VIEW);
         btnHelp.setUrl(
                 wxService.oauth2buildAuthorizationUrl(weChatProperties.getDomain() +
-                                "/home/homeHelp.html",
+                                "/home/testOk.html",
                         WxConsts.OAuth2Scope.SNSAPI_USERINFO, null)
         );
 //        btn3.getSubButtons().add(btnDesc);