back to home

shuzheng / zheng

基于Spring+SpringMVC+Mybatis分布式敏捷开发系统架构,提供整套公共微服务服务模块:集中权限管理(单点登录)、内容管理、支付中心、用户管理(支持第三方登录)、微信平台、存储系统、配置中心、日志分析、任务和通知等,支持服务治理、监控和追踪,努力为中小型企业打造全方位J2EE企业级开发解决方案。

16,707 stars
7,300 forks
81 issues
JavaCSSJavaScript

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing shuzheng/zheng in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/shuzheng/zheng)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

zheng 交流QQ群:133107819、284280411、305155242🈵、528049386、157869467🈵、570766789🈵、601147566🈵、309985359🈵、336380857🈵、522723488、556447629、654558397🈵、392564561🈵、494594000🈵、494070275🈵、168267539🈵、652798487🈵、650979251🈵、622461564🈵、219381522🈵、487874426🈵、398342630🈵、205986087🈵、574153262🈵、606890936🈵、565434047🈵、680947971🈵、341884034🈵、562977817🈵、478962414🈵、679219230🈵、676766033🈵、621874750🈵、522903600🈵、524932879🈵、376261902🈵、481096887🈵、232104667🈵、637879277🈵、697575367🈵、702995203🈵、708665910🈵、697141239🈵、574057714🈵、631332162🈵、591739143🈵、731016871🈵、598738752🈵、748759166🈵、159816595(群内含各种工具、文档、视频教程下载) 前言    项目不仅仅是一个开发架构,而是努力打造一套从 **前端模板** - **基础框架** - **分布式架构** - **开源项目** - **持续集成** - **自动化部署** - **系统监测** - **无缝升级** 的全方位J2EE企业级开发解决方案。 项目介绍   基于Spring+SpringMVC+Mybatis分布式敏捷开发系统架构,提供整套公共微服务服务模块:内容管理、支付中心、用户管理(包括第三方)、微信平台、存储系统、配置中心、日志分析、任务和通知等,支持服务治理、监控和追踪,努力为中小型企业打造全方位J2EE企业级开发解决方案。 组织结构 技术选型 后端技术: 技术 | 名称 | 官网 ----|------|---- Spring Framework | 容器 | http://projects.spring.io/spring-framework/ SpringMVC | MVC框架 | http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/#mvc Apache Shiro | 安全框架 | http://shiro.apache.org/ Spring session | 分布式Session管理 | http://projects.spring.io/spring-session/ MyBatis | ORM框架 | http://www.mybatis.org/mybatis-3/zh/index.html MyBatis Generator | 代码生成 | http://www.mybatis.org/generator/index.html PageHelper | MyBatis物理分页插件 | http://git.oschina.net/free/Mybatis_PageHelper Druid | 数据库连接池 | https://github.com/alibaba/druid FluentValidator | 校验框架 | https://github.com/neoremind/fluent-validator Thymeleaf | 模板引擎 | http://www.thymeleaf.org/ Velocity | 模板引擎 | http://velocity.apache.org/ ZooKeeper | 分布式协调服务 | http://zookeeper.apache.org/ Dubbo | 分布式服务框架 | http://dubbo.io/ TBSchedule & elastic-job | 分布式调度框架 | https://github.com/dangdangdotcom/elastic-job Redis | 分布式缓存数据库 | https://redis.io/ Solr & Elasticsearch | 分布式全文搜索引擎 | http://lucene.apache.org/solr/ https://www.elastic.co/ Quartz | 作业调度框架 | http://www.quartz-scheduler.org/ Ehcache | 进程内缓存框架 | http://www.ehcache.org/ ActiveMQ | 消息队列 | http://activemq.apache.org/ JStorm | 实时流式计算框架 | http://jstorm.io/ FastDFS | 分布式文件系统 | https://github.com/happyfish100/fastdfs Log4J | 日志组件 | http://logging.apache.org/log4j/1.2/ Swagger2 | 接口测试框架 | http://swagger.io/ sequence | 分布式高效ID生产 | http://git.oschina.net/yu120/sequence AliOSS & Qiniu & QcloudCOS | 云存储 | https://www.aliyun.com/product/oss/ http://www.qiniu.com/ https://www.qcloud.com/product/cos Protobuf & json | 数据序列化 | https://github.com/google/protobuf Jenkins | 持续集成工具 | https://jenkins.io/index.html Maven | 项目构建管理 | http://maven.apache.org/ Netty-socketio | 实时推送 | https://github.com/mrniko/netty-socketio 前端技术: 技术 | 名称 | 官网 ----|------|---- jQuery | 函式库 | http://jquery.com/ Bootstrap | 前端框架 | http://getbootstrap.com/ Bootstrap-table | Bootstrap数据表格 | http://bootstrap-table.wenzhixin.net.cn/ Font-awesome | 字体图标 | http://fontawesome.io/ material-design-iconic-font | 字体图标 | https://github.com/zavoloklom/material-design-iconic-font Waves | 点击效果插件 | https://github.com/fians/Waves zTree | 树插件 | http://www.treejs.cn/v3/ Select2 | 选择框插件 | https://github.com/select2/select2 jquery-confirm | 弹出窗口插件 | https://github.com/craftpip/jquery-confirm jQuery EasyUI | 基于jQuery的UI插件集合体 | http://www.jeasyui.com React | 界面构建框架 | https://github.com/facebook/react Editor.md | Markdown编辑器 | https://github.com/pandao/editor.md zhengAdmin | 后台管理系统模板 | https://github.com/shuzheng/zhengAdmin autoMail | 邮箱地址自动补全插件 | https://github.com/shuzheng/autoMail zheng.jprogress.js | 加载进度条插件 | https://github.com/shuzheng/zheng.jprogress.js zheng.jtotop.js | 返回顶部插件 | https://github.com/shuzheng/zheng.jtotop.js socket.io.js | SocketIO插件 | https://socket.io/ 架构图 模块依赖 模块介绍 > zheng-common Spring+SpringMVC+Mybatis框架集成公共模块,包括公共配置、MybatisGenerator扩展插件、通用BaseService、工具类等。 > zheng-admin 基于bootstrap实现的响应式Material Design风格的通用后台管理系统, 项目所有后台系统都是使用该模块界面作为前端展示。 > zheng-ui 各个子系统前台thymeleaf模板,前端资源模块,使用nginx代理,实现动静分离。 > zheng-upms 本系统是基于RBAC授权和基于用户授权的细粒度权限控制通用平台,并提供单点登录、会话管理和日志管理。接入的系统可自由定义组织、角色、权限、资源等。用户权限=所拥有角色权限合集+用户加权限-用户减权限,优先级:用户减权限>用户加权限>角色权限 > zheng-oss 文件存储系统,提供四种方案: • **阿里云** OSS • **腾讯云** COS • **七牛云** • 本地分布式存储 > zheng-api 服务网关,对外暴露统一规范的接口和包装响应结果,包括各个子系统的交互接口、对外开放接口、开发加密接口、接口文档等服务,可在该模块支持验签、鉴权、路由、限流、监控、容错、日志等功能。示例图: > zheng-cms 内容管理系统:支持多标签、多类目、强大评论的内容管理,有基本单页展示,菜单管理,系统设置等功能。 > zheng-pay • 一站式支付解决方案,统一下单接口,支持支付宝、微信、网银等多种支付方式。不涉及业务的纯粹的支付平台。 • 统一下单(统一下单接口、统一扫码)、订单管理、数据分析、财务报表、商户管理、渠道管理、对账系统、系统监控。 > zheng-ucenter 通用用户管理系统, 实现最常用的用户注册、登录、资料管理、个人中心、第三方登录等基本需求,支持扩展二次开发。 > zheng-wechat-mp 微信公众号管理平台,除实现官网后台自动回复、菜单管理、素材管理、用户管理、消息群发等基础功能外,还有二维码推广、营销活动、微网站、会员卡、优惠券等。 > zheng-wechat-app 微信小程序后台 > zheng-message 基于Netty实现SocketIO的实时推送系统。支持命名空间、二进制数据、SSL、ACK等功能。 环境搭建(QQ群内有“zheng环境搭建和系统部署文档.doc”) 开发工具: • MySql: 数据库 • jetty: 开发服务器 • Tomcat: 应用服务器 • SVN|Git: 版本管理 • Nginx: 反向代理服务器 • Varnish: HTTP加速器 • IntelliJ IDEA: 开发IDE • PowerDesigner: 建模工具 • Navicat for MySQL: 数据库客户端 开发环境: • Jdk7+ • Mysql5.5+ • Redis • Zookeeper • ActiveMQ • Dubbo-admin • Dubbo-monitor 工具安装 环境搭建和系统部署文档(作者:小兵,QQ群共享提供下载) 资源下载 • JDK7 http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html • Maven http://maven.apache.org/download.cgi • Redis https://redis.io/download • ActiveMQ http://activemq.apache.org/download-archives.html • ZooKeeper http://www.apache.org/dyn/closer.cgi/zookeeper/ • Dubbo http://dubbo.io/Download-zh.htm • Elastic Stack https://www.elastic.co/downloads • Nginx http://nginx.org/en/download.html • Jenkins http://updates.jenkins-ci.org/download/war/ • dubbo-admin-2.5.3 http://download.csdn.net/detail/shuzheng5201314/9733652 • dubbo-admin-2.5.4-SNAPSHOT-jdk8 http://download.csdn.net/detail/shuzheng5201314/9733657 • 更多资源请加QQ群 开发指南: • 1、本机安装Jdk7、Mysql、Redis、Zookeeper、ActiveMQ并**启动相关服务**,使用默认配置默认端口即可 • 2、克隆源代码到本地并打开,**推荐使用IntelliJ IDEA**,本地编译并安装到本地maven仓库 修改本地Host • 127.0.0.1 ui.zhangshuzheng.cn • 127.0.0.1 upms.zhangshuzheng.cn • 127.0.0.1 cms…