From 744704d5bcdbec84a4a0ec346dbc4ae5443aa954 Mon Sep 17 00:00:00 2001 From: Wizzer Date: Wed, 22 Mar 2017 23:47:02 +0800 Subject: [PATCH] =?UTF-8?q?add:=20python=E6=89=93=E5=8C=85=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E7=9A=84wk-starter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../services/impl/WxConfigServiceImpl.java | 2 +- wk-starter/pom.xml | 88 +++++++++++++++++++ 2 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 wk-starter/pom.xml diff --git a/wk-app/wk-web/src/main/java/cn/wizzer/app/wx/modules/services/impl/WxConfigServiceImpl.java b/wk-app/wk-web/src/main/java/cn/wizzer/app/wx/modules/services/impl/WxConfigServiceImpl.java index be5d63f9f..900d2b9dd 100644 --- a/wk-app/wk-web/src/main/java/cn/wizzer/app/wx/modules/services/impl/WxConfigServiceImpl.java +++ b/wk-app/wk-web/src/main/java/cn/wizzer/app/wx/modules/services/impl/WxConfigServiceImpl.java @@ -25,7 +25,7 @@ public WxConfigServiceImpl(Dao dao) { public WxApi2 getWxApi2(String wxid) { Wx_config appInfo = this.fetch(Cnd.where("id", "=", wxid)); DaoAccessTokenStore myDaoAccessTokenStore = new DaoAccessTokenStore(dao()); - Map params = new HashMap(); + Map params = new HashMap<>(); params.put("id", appInfo.getId()); myDaoAccessTokenStore.setTableAccessToken("access_token"); myDaoAccessTokenStore.setTableAccessTokenExpires("access_token_expires"); diff --git a/wk-starter/pom.xml b/wk-starter/pom.xml new file mode 100644 index 000000000..d0e23aab8 --- /dev/null +++ b/wk-starter/pom.xml @@ -0,0 +1,88 @@ + + 4.0.0 + cn.wizzer + wk-starter + 4.0.1-SNAPSHOT + + + org.nutz + nutz-web + 1.r.61-SNAPSHOT + + + org.ow2.asm + asm-commons + + + javax.annotation + javax.annotation-api + + + org.glassfish.web + javax.servlet.jsp + + + org.eclipse.jetty + jetty-jsp + + + org.glassfish + javax.el + + + org.eclipse.jetty.aggregate + jetty-all + + + org.ow2.asm + asm + + + + + org.eclipse.jetty + jetty-webapp + 9.4.2.v20170220 + + + org.eclipse.jetty.websocket + javax-websocket-server-impl + 9.4.2.v20170220 + + + org.nutz + nutz + 1.r.61-SNAPSHOT + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.8 + 1.8 + false + + + + maven-assembly-plugin + 3.0.0 + + + jar-with-dependencies + + + + org.nutz.web.WebLauncher + + + + + + + \ No newline at end of file