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