# WsBlade **Repository Path**: yuhaibao/WsBlade ## Basic Information - **Project Name**: WsBlade - **Description**: 轻量级的webservice开发框架,集成springblade系列封装dao工具,集成redis单机、集群操作类。 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2019-03-14 - **Last Updated**: 2021-02-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #WsBlade简单介绍 WsBlade是一个轻量级的webservice开发框架,集成springblade系列封装dao工具,集成redis单机、集群操作类。 可以快速发布webservice服务。 ## 鸣谢 1.[JFinal](http://www.oschina.net/p/jfinal) 2.[eova](http://www.oschina.net/p/eova) 3.[hutool](http://www.oschina.net/p/hutool) 4.[beetl](http://www.oschina.net/p/beetl) 5.[beetlsql](http://www.oschina.net/p/beetlsql) ## 代码示例 ``` @WebService public class TestService { public String one(String id) { Map one = Md.selectOne("test.one", Paras.create().set("id", id), Map.class); return JacksonKit.beanToJson(one); } } ``` ``` public class TestPublisher { public static void publish() { String address = PublisherCenter.wsurl + "/test"; Endpoint.publish(address, new TestService()); LogKit.println("TestService 发布成功!"); } } ``` ##注 eclipse直接导入,idea删除settings、project、classpath后再导入