{"id":17010532,"url":"https://github.com/daoshenzzg/springboot2.x-example","last_synced_at":"2025-04-12T08:26:40.930Z","repository":{"id":37336144,"uuid":"201020251","full_name":"daoshenzzg/springboot2.x-example","owner":"daoshenzzg","description":"基于spring cloud的脚手架。基于spring boot 2.x，组合 Mybatis、Redis(Jetcache)、Elasticsearch、RocketMQ","archived":false,"fork":false,"pushed_at":"2022-06-21T01:37:12.000Z","size":622,"stargazers_count":16,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T03:33:17.891Z","etag":null,"topics":["elasticsearch-client","jetcache","mybatis3","mybatisplus","resttemplate","rocketmq-spring-boot-starter","springboot2"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daoshenzzg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-07T09:41:48.000Z","updated_at":"2024-02-29T04:53:07.000Z","dependencies_parsed_at":"2022-08-18T03:45:08.737Z","dependency_job_id":null,"html_url":"https://github.com/daoshenzzg/springboot2.x-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daoshenzzg%2Fspringboot2.x-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daoshenzzg%2Fspringboot2.x-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daoshenzzg%2Fspringboot2.x-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daoshenzzg%2Fspringboot2.x-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daoshenzzg","download_url":"https://codeload.github.com/daoshenzzg/springboot2.x-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248538776,"owners_count":21121037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elasticsearch-client","jetcache","mybatis3","mybatisplus","resttemplate","rocketmq-spring-boot-starter","springboot2"],"created_at":"2024-10-14T06:04:45.430Z","updated_at":"2025-04-12T08:26:40.909Z","avatar_url":"https://github.com/daoshenzzg.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-demo: spring-boot + Redis + MyBatis + Elasticsearch + RocketMQ\n\n# 项目结构\n\u003cimg src=\"docs/project.png\" height=\"400px;\"/\u003e\n\n# 项目组件\n* [MyBatis](http://www.mybatis.org/mybatis-3/zh/index.html)\n* [Redis-jetcache](https://github.com/alibaba/jetcache)\n* [RocketMQ](https://github.com/apache/rocketmq-spring/blob/master/README_zh_CN.md)\n* [ElasticSearch](https://spring.io/projects/spring-data-elasticsearch)\n* [HuTool](https://hutool.cn/docs/#/?id=%e6%96%87%e6%a1%a3)\n\n# 更新 2019-09-04\n* Mybatis 升级为 [Mybatis plus](https://mp.baomidou.com/)。并完善多数据源混合使用，动态切换数据源demo。\n减少xml配置，自动填充createTime、updateTime字段。\n* 增加 Spring RestTemplate + HttpClient组合，时间连接池、超时时间配置。\n* logback 多环境配置。\n* Jetcache 支持 jedis 操作接口。\n\n# 更新 2019-09-05\n* 集成 Mybatis plus 分页插件，增加分页操作Demo。\n* 修复 \"Mybatis plus mapper-locations 配置错误，找不到 xml\" BUG。\n* 增加事务操作Demo。\n\n# 更新 2019-10-23\n* springboot 返回json null 字段初始化。支持 Array、Collection to []; string to \"\", Boolean to false, 甚至 Object(?) to {} ！！！\n\n# 更新 2019-10-29\n* springboot 全局异常处理的正确方式\n* springboot 优雅的实现 API 输出\n\n# 原创文章\n* [springboot2.x Jackson自定义序列化，优雅实现String、List、Object返回\"\"、[]、{}](https://www.jianshu.com/p/5ff776df1370)\n* [springboot2.x 集成 Mybatis plus(多数据源)，提升20%的开发效率](https://www.jianshu.com/p/bcef1351ea9c)\n* [springboot2.x 全局异常处理正确方式](https://www.jianshu.com/p/d72daaa9b722)\n* [springboot2.x 如何优雅的实现API输出？](https://www.jianshu.com/u/ae816a99af1f)\n* [如何优雅的实现数据置顶、置尾、交换、拖动排序？](https://www.jianshu.com/p/384debfe321d)\n\n# 引用文章\n* [使用spring validation完成数据后端校验](https://blog.csdn.net/u013815546/article/details/77248003)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaoshenzzg%2Fspringboot2.x-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaoshenzzg%2Fspringboot2.x-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaoshenzzg%2Fspringboot2.x-example/lists"}