{"id":14982951,"url":"https://github.com/yzcheng90/x-springboot","last_synced_at":"2025-05-14T03:10:58.250Z","repository":{"id":39948357,"uuid":"116362360","full_name":"yzcheng90/X-SpringBoot","owner":"yzcheng90","description":"X-SpringBoot是一个轻量级的Java快速开发平台，能快速开发项目并交付【接私活利器】","archived":false,"fork":false,"pushed_at":"2025-04-19T09:07:46.000Z","size":4136,"stargazers_count":2423,"open_issues_count":2,"forks_count":761,"subscribers_count":75,"default_branch":"master","last_synced_at":"2025-04-19T15:25:11.440Z","etag":null,"topics":["minio","mybatis-plus","redis","restful","security","spring-boot","spring-mvc","springmvc-java-web","springmvc-mybatis","swagger"],"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/yzcheng90.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-05T08:39:00.000Z","updated_at":"2025-04-19T12:45:35.000Z","dependencies_parsed_at":"2024-12-25T21:03:40.725Z","dependency_job_id":"1dd3f745-d69e-4041-a0bd-14a0427af06e","html_url":"https://github.com/yzcheng90/X-SpringBoot","commit_stats":{"total_commits":83,"total_committers":3,"mean_commits":"27.666666666666668","dds":0.06024096385542166,"last_synced_commit":"1e8fce2423fd8145ccdb1648bf1f7b6f7d51a90d"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yzcheng90%2FX-SpringBoot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yzcheng90%2FX-SpringBoot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yzcheng90%2FX-SpringBoot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yzcheng90%2FX-SpringBoot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yzcheng90","download_url":"https://codeload.github.com/yzcheng90/X-SpringBoot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254059513,"owners_count":22007769,"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":["minio","mybatis-plus","redis","restful","security","spring-boot","spring-mvc","springmvc-java-web","springmvc-mybatis","swagger"],"created_at":"2024-09-24T14:06:29.340Z","updated_at":"2025-05-14T03:10:53.234Z","avatar_url":"https://github.com/yzcheng90.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"\u003ch1\u003e X-SpringBoot \u003c/h1\u003e\n\n![Image text](https://img.shields.io/badge/x--springboot-v6.0-green.svg)\n![Image text](https://img.shields.io/badge/springboot-3.3.5-green.svg)\n![Image text](https://img.shields.io/badge/MyBatis%20Plus-3.5.9-green.svg)\n\n[更新日志](https://github.com/yzcheng90/X-SpringBoot/tree/master/doc/updateLog.md) | [项目地址](https://github.com/yzcheng90)  | [SpringCloud版本](https://github.com/yzcheng90/ms) |[前台项目地址](https://github.com/yzcheng90/x-springboot-ui)\n\n\n\n**项目说明** \n- 【NEW】最新springboot 3版本在springboot3x 分支\n- X-SpringBoot 是一个轻量级的Java快速开发平台，基于各大开源项目组合而来，用于快速构建中小型API、RESTful API项目，该项目已经有过多个真实项目的实践，稳定、简单、快速，使我们摆脱那些重复劳动。\n- 本项目已大量重构,精简了大量代码减少第三方依赖，最干净的脚手架。\n- 引入了lombok 大量简化了代码\n- 引入了MyBatis Plus 大量简化了SQL\n- 引入hutool 工具包 规范工具类\n- 引入minio 分布式文件系统\n- 引入[autoFull](https://github.com/yzcheng90/zhjg-common-autofull) 自动填充绑定框架,多表关联不用写sql\n- 前后端完全脱离，前端代码可单独部署\n- 自定义Spring Security 支持获取token\n- 新增RBAC接口级权限控制\n- 账号密码：admin/admin\n\n \n**版本信息** \n- 核心框架：Spring Boot 3.5.5\n- 安全框架：Spring Security 6.x\n- 持久层框架：MyBatis Plus 3.5.9\n- 日志管理：SLF4J 1.7、Log4j\n- 页面交互：Vue2.x \n\n\n**环境** \n- jdk 17\n- mysql 8.0\n- redis\n- nginx\n\n\n**项目结构** \n```\nX-SpringBoot\n├─doc  \n│  ├─db.sql 项目SQL语句\n│  ├─nginx.confi nginx 配置文件\n│  ├─updateLog 更新日志\n│\n├─authentication 权限认证\n├─common 公共模块\n│  ├─annotation 自定义注解\n│  ├─aspect 系统日志\n│  ├─base base包\n│  ├─exception 异常处理\n│  ├─utils 一些工具类\n│  └─xss XSS过滤\n│ \n├─config 配置信息\n├─interceptor token拦截器\n│ \n├─modules 功能模块\n│  ├─oss 文件服务模块\n│  ├─sys 权限模块\n│  └─gen 代码生成\n│ \n├─Application 项目启动类\n│  \n├──resources \n│  ├─mapper SQL对应的XML文件\n\n\n```\n\n**系统截图**\n![Image text](https://github.com/yzcheng90/X-SpringBoot/blob/master/pic/20230122174113.png)\n![Image text](https://github.com/yzcheng90/X-SpringBoot/blob/master/pic/20230122174148.png)\n![Image text](https://github.com/yzcheng90/X-SpringBoot/blob/master/pic/20230122174204.png)\n\n**常见问题**\n\n1、启动报错\n```\n 是因为依赖没有引入  maven --\u003e 先clear 再reimport 重新引入\n```\n\n2、数据库连接不上（mysql 5.7）\n\n```\n1) 看看application.yml 配置文件中 spring.profiles.active: dev  \n   当前配置的是dev ,就修改application-dev.yml 中的数据库连接IP用户密码\n2) 如果改完了还是不行，看看你mysql版本8.0以上 须要修改pom.xml中的 mysql-connector-java 的版本\n```\n\n **最后**\n\n- 交流QQ群：17470566\n- 本人QQ：913624256\n- 如果喜欢，记得star fork 谢谢您的关注 x-springboot会持续维护\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyzcheng90%2Fx-springboot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyzcheng90%2Fx-springboot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyzcheng90%2Fx-springboot/lists"}