[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4237":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":17,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":36,"discoverSource":37},4237,"xmall","Exrick\u002Fxmall","Exrick","基于SOA架构的分布式电商购物商城 前后端分离 前台商城:Vue全家桶 后台管理系统:Dubbo\u002FSSM\u002FElasticsearch\u002FRedis\u002FMySQL\u002FActiveMQ\u002FShiro\u002FZookeeper等","http:\u002F\u002Fxmall.exrick.cn",null,"Java",7232,2530,364,30,0,2,4,67.4,"GNU General Public License v3.0",false,"master",true,[25,26,27,28,29,30,31,32],"dubbo","elasticsearch","mq","redis","shiro","soa","ssm","vue","2026-06-12 04:00:21","# XMall\n[![AUR](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FGPL-v3-red)](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002FLicense)\n[![](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAuthor-Exrick-orange.svg)](http:\u002F\u002Fblog.exrick.cn)\n[![](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fversion-1.1-brightgreen)](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall)\n[![GitHub stars](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002FExrick\u002Fxmall.svg?style=social&label=Stars)](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall)\n[![GitHub forks](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fforks\u002FExrick\u002Fxmall.svg?style=social&label=Fork)](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall)\n\n> 作者本科毕业设计项目 期待您的捐赠支持\n\n### [X系列项目宣传视频](https:\u002F\u002Fwww.bilibili.com\u002Fvideo\u002Fav23121122\u002F)\n- 作者亲自制作 [点我观看](https:\u002F\u002Fwww.bilibili.com\u002Fvideo\u002Fav23121122\u002F)\n\n### 项目已部署，在线Demo\n- 前台商城：http:\u002F\u002Fxmall.exrick.cn\u002F\n- 后台管理系统：http:\u002F\u002Fxmadmin.exrick.cn\u002F\n\n### 单体版获取\n- 单体XMall系统 非分布式 可跑在1g1核服务器上\n- 获取方式：进入商城 http:\u002F\u002Fxmall.exrick.cn\u002F 登陆后随意测试支付商品 填写捐赠信息 支付成功后将自动发至您填写的邮箱\n\n### 前台页面为基于Vue的独立项目 请跳转至 [xmall-front](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall-front) 项目仓库查看\n\n### 作者其他项目推荐\n- [XPay个人免签收款支付系统](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxpay) 无需挂机App 自动回调\n\n- [XMall微信小程序APP前端 现已开源！](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall-weapp)\n    \n    [![WX20190924-234416@2x.png](https:\u002F\u002Fs2.ax1x.com\u002F2019\u002F10\u002F06\u002FucEsBD.md.png)](https:\u002F\u002Fwww.bilibili.com\u002Fvideo\u002Fav70226175)\n\n- [X-Boot前后端分离开发平台](https:\u002F\u002Fgithub.com\u002FExrick\u002Fx-boot)\n\n    ![](https:\u002F\u002Fooo.0o0.ooo\u002F2020\u002F03\u002F13\u002FrQGAWv1h8VMeIdi.png)\n    \n- 个人机器学习笔记\n    - [Machine-Learning](https:\u002F\u002Fgithub.com\u002FExrick\u002FMachine-Learning)\n\n- Spring Cloud版\n    - [X-Cloud](https:\u002F\u002Fgithub.com\u002FExrick\u002Fx-cloud) 框架开发中\n### 基于SOA架构的分布式购物电商商城\n- [x] 后台管理系统：管理商品、订单、类目、商品规格属性、用户、权限、系统统计、系统日志以及前台内容等功能\n- [x] 前台系统：用户可以在前台系统中进行注册、登录、浏览商品、首页、下单等操作\n- [x] 会员系统：用户可以在该系统中查询已下的订单、管理订单、我的优惠券等信息\n- [x] 订单系统：提供下单、查询订单、修改订单状态、定时处理订单\n- [x] 搜索系统：提供商品的搜索功能\n- [x] 单点登录系统：为多个系统之间提供用户登录凭证以及查询登录用户的信息\n\n### v1.1更新日志(需更新前后台代码及SQL)\n- [x] 接入自己开源的[XPay个人免签收款支付系统](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxpay)\n- [x] 更新Dubbo(2.6.1)、ES(6.2.3)等依赖版本 \n- [x] 取消ES需在页面中配置及跨域问题，ES默认配置集群名改为原elasticsearch\n- [x] 修复后台统计热卖商品SQL错误，xmall-front-web模块支持SpringMVC文件上传配置\n- [x] 修改金额字段类型优化SQL与备注\n- [x] 优化后台页面 修复用户修改BUG 优化批量删除 优化商品分类添加\n- [x] 重构首页，后台可配置，包括3D轮播图\n- [x] 后台新增缓存管理功能菜单 完成订单打印发货等功能，实现快递管理\n- [x] 增添订单统计报表\n- [x] 修复前后端分离极验验证码session存储问题\n- [x] 实现ES IK分词插件扩展词典库管理 增添限流\n- [x] 2018.7.22 取消快速搜索接口需前端配置 发送邮件端口改为465\n- [x] 2018.7.27 首页导航栏可后台配置\n- [x] 2019.10.06 修复分类管理BUG 开源小程序前端\n- 注：SKU设计预计将在小程序后台实现\n- [极验验证码移除文档](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fwiki\u002F%E6%9E%81%E9%AA%8C%E7%A7%BB%E9%99%A4%E6%96%87%E6%A1%A3)\n\n![](https:\u002F\u002Fooo.0o0.ooo\u002F2018\u002F07\u002F22\u002F5b5461099039e.jpg \"后台首页\")\n\n![](https:\u002F\u002Fooo.0o0.ooo\u002F2018\u002F07\u002F22\u002F5b546125886ca.jpg \"商品管理\")\n\n![](https:\u002F\u002Fooo.0o0.ooo\u002F2018\u002F07\u002F22\u002F5b54613bc866f.jpg \"管理员编辑\")\n\n![](https:\u002F\u002Fooo.0o0.ooo\u002F2018\u002F07\u002F22\u002F5b54615b95788.jpg \"前台首页\")\n\n![](https:\u002F\u002Fooo.0o0.ooo\u002F2018\u002F07\u002F22\u002F5b5461756b2b0.jpg \"ES分词搜索\")\n\n### 项目架构及功能模块图\n\n![](https:\u002F\u002Fooo.0o0.ooo\u002F2018\u002F07\u002F22\u002F5b5461926969b.png)\n\n![](https:\u002F\u002Fooo.0o0.ooo\u002F2018\u002F07\u002F22\u002F5b5461aa2fdee.jpg)\n\n![](https:\u002F\u002Fooo.0o0.ooo\u002F2018\u002F07\u002F22\u002F5b5461c54cb55.jpg)\n\n### 前端所用技术\n- 后台页面\n    - 感谢 [H-ui](http:\u002F\u002Fwww.h-ui.net\u002F)、[FlatLab](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002Fstudy\u002FFlatLab.md) 提供静态页面支持\n    - [Ztree](http:\u002F\u002Fwww.treejs.cn\u002Fv3\u002Fmain.php#_zTreeInfo)：jQuery树插件\n    - [DataTables](http:\u002F\u002Fwww.datatables.club\u002F)：jQuery表格插件\n    - [Layer](http:\u002F\u002Flayer.layui.com\u002F)：web弹层组件\n    - [Distpicker](https:\u002F\u002Fgithub.com\u002Ffengyuanchen\u002Fdistpicker)：中国省市区地址三级联动插件\n    - [KindEditor](https:\u002F\u002Fgithub.com\u002Fkindsoft\u002Fkindeditor)：富文本编辑器 简洁方便 没UEditor那么多坑\n    - [WebUploader](http:\u002F\u002Ffex.baidu.com\u002Fwebuploader\u002Fgetting-started.html)：百度文件上传插件\n    - [HighCharts](http:\u002F\u002Fwww.hcharts.cn\u002F)：图表库\n    - [不蒜子](http:\u002F\u002Fbusuanzi.ibruce.info\u002F)：极简网页计数器\n- 前台页面\n    - 详情请跳转至 [xmall-front](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall-front) 项目仓库\n    - 感谢 [yucccc](https:\u002F\u002Fgithub.com\u002Fyucccc) 的开源 [vue-mall](https:\u002F\u002Fgithub.com\u002Fyucccc\u002Fvue-mall) 项目提供前端页面及框架支持\n    - Vue2 + Vuex + Vue Router + Element UI + ES6 + webpack + axios + Node.js\n    \n### 后端所用技术\n##### 各框架依赖版本皆使用目前最新版本 可进入xmall-parent中 [pom.xml](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002Fxmall-parent\u002Fpom.xml) 查看\n- Spring\n- [SpringMVC](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002Fstudy\u002FSpringMVC.md)\n- MyBatis\n- [Dubbo](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002Fstudy\u002FDubbo.md)\n- [ZooKeeper](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002Fstudy\u002FZookeeper.md)\n- MySQL\n- Mycat：数据库分库分表中间件\n- [Redis](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002Fstudy\u002FRedis.md)：缓存\n- [Elasticsearch](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002Fstudy\u002FElasticsearch.md)：基于Lucene分布式搜索引擎\n- [ActiveMQ](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002Fstudy\u002FActiveMQ.md)：消息队列\n- [Druid](http:\u002F\u002Fdruid.io\u002F)：阿里高性能数据库连接池\n- Shiro：安全框架\n- [Swagger2](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002Fstudy\u002FSwagger2.md)：Api文档生成\n- Docker\n- [Nginx](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002Fstudy\u002FNginx.md)\n- Tomcat\n- [Maven](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002Fstudy\u002FMaven.md)\n- 第三方SDK\n    - [七牛云文件存储服务](https:\u002F\u002Fdeveloper.qiniu.com\u002Fkodo\u002Fsdk\u002F1239\u002Fjava)\n    - ~~[极验Test-button人机验证码](http:\u002F\u002Fwww.geetest.com\u002FTest-button.html)~~ 因其收费见[极验验证码移除文档](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fwiki\u002F%E6%9E%81%E9%AA%8C%E7%A7%BB%E9%99%A4%E6%96%87%E6%A1%A3)\n- 第三方插件\n    - [hotjar](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002Fstudy\u002Fhotjar.md)：一体化分析和反馈\n    - [搜狐畅言评论插件](http:\u002F\u002Fchangyan.kuaizhan.com\u002F)\n- 第三方接口\n    - [Mob全国天气预报接口](http:\u002F\u002Fapi.mob.com\u002F#\u002Fapiwiki\u002Fweather)：需注册账号创建应用后申请填入AppKey\n- 其它开发工具\n    - Jenkins：持续集成\n    - [JRebel](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002Fstudy\u002FJRebel.md)：开发热更新\n    - [阿里JAVA开发规约插件](https:\u002F\u002Fgithub.com\u002Falibaba\u002Fp3c)\n\n### 文件说明\n- `xmall` 文件夹提供部分依赖与sql文件\n    - xmall.sql：数据库文件\n    - dubbo.xsd：需手动配置避免报错\n    - redis-3.0.0.gem：Redis集群搭建所需Ruby库\n- `generatorSqlmapCustom` 文件夹为 [Mybatis Generator](http:\u002F\u002Fwww.mybatis.org\u002Fgenerator\u002F) 逆向生成工具，且已配置好maven插件\n### 本地开发运行部署\n- 下载zip直接解压或安装git后执行克隆命令 `git clone https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall.git`\n- 安装各中间件并启动：[ZooKeeper](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002Fstudy\u002FZookeeper.md)、[Redis](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002Fstudy\u002FRedis.md)、[ActiveMQ](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002Fstudy\u002FActiveMQ.md)、[Elasticsearch](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002Fstudy\u002FElasticsearch.md)\n- 修改各配置文件相应依赖IP配置(默认本地127.0.0.1)，以及七牛云、极验配置、天气接口在 `xmall-common - utils` 中找到修改，XPay邮箱配置在 `manager-service与sso-service` 中\n- [Maven安装和在IDEA中配置](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall\u002Fblob\u002Fmaster\u002Fstudy\u002FMaven.md)\n- 使用IDEA([破解\u002F免费注册](http:\u002F\u002Fidea.lanyus.com\u002F)) `File-Open` 直接打开xmall项目，点击右下角 `Import Changes` 等待安装完依赖即可\n- MySQL数据库新建 `xmall` 数据库，运行sql文件，注意在有 `db.properties` 的模块中修改你的数据库连接配置\n- 按照依赖顺序分别在每个模块文件夹根目录执行 `mvn install` 命令\n- 项目需运行除 `xmall-parent` `xmall-common` 以外其它所有6个服务，且都已配置好Tomcat插件, 执行命令 `mvn tomcat7:run` 或在IDEA中使用插件(`View - Tool Buttons - 右侧菜单Maven Projects - tomcat7 - tomcat7:run`)运行即可，当然可自行配置\n- 后端管理系统默认端口8888 http:\u002F\u002Flocalhost:8888 管理员账密admin|123456\n- 前端项目接口默认端口7777 前台页面请启动基于Vue的 [xmall-front](https:\u002F\u002Fgithub.com\u002FExrick\u002Fxmall-front) 项目，并修改其接口配置\n### 相关技术点说明\n- ES-IK分词插件词典库扩展\n    - 详见 [elasticsearch-analysis-ik插件作者项目README说明](https:\u002F\u002Fgithub.com\u002Fmedcl\u002Felasticsearch-analysis-ik)\n    - 本项目中扩展接口和禁用词接口分别为 `http:\u002F\u002Flocalhost:8888\u002FgetDictList` 和 `http:\u002F\u002Flocalhost:8888\u002FgetStopDictList`，将以上2个接口配置进IK插件扩展配置文件{conf}\u002Fanalysis-ik\u002Fconfig\u002FIKAnalyzer.cfg.xml 或者 {plugins}\u002Felasticsearch-analysis-ik-*\u002Fconfig\u002FIKAnalyzer.cfg.xml中即可，示例：\n\n    ```xml\n    \u003C?xml version=\"1.0\" encoding=\"UTF-8\"?>\n    \u003C!DOCTYPE properties SYSTEM \"http:\u002F\u002Fjava.sun.com\u002Fdtd\u002Fproperties.dtd\">\n    \u003Cproperties>\n        \u003Ccomment>IK Analyzer 扩展配置\u003C\u002Fcomment>\n        \u003C!--用户可以在这里配置远程扩展字典 -->\n        \u003Centry key=\"remote_ext_dict\">http:\u002F\u002Flocalhost:8888\u002FgetDictList\u003C\u002Fentry>\n        \u003C!--用户可以在这里配置远程扩展停止词字典-->\n        \u003Centry key=\"remote_ext_stopwords\">http:\u002F\u002Flocalhost:8888\u002FgetStopDictList\u003C\u002Fentry>\n    \u003C\u002Fproperties>\n    ```\n- 限流\n    - `xmall-front-web` 中已配置限流，配置文件 `resource.properties` 中可配置全局限流，示例：\n\n        ```properties\n        #启用全局限流\n        xmall.rateLimit.enable=true\n        #每1秒内\n        xmall.rateLimit.timeout=1000\n        #限制10个请求\n        xmall.rateLimit.limit=10\n        ```\n    - 指定方法限流注解\n        ```java\n        @RateLimiter(limit = 1, timeout = 5000)\n        ```\n    - 支持多维度IP、uid等限流 详见代码\n### 技术疑问交流\n- QQ交流群 `475743731(付费)`，可获取各项目详细图文文档、xmall毕设PPT [![](http:\u002F\u002Fpub.idqqimg.com\u002Fwpa\u002Fimages\u002Fgroup.png)](http:\u002F\u002Fshang.qq.com\u002Fwpa\u002Fqunwpa?idkey=7b60cec12ba93ebed7568b0a63f22e6e034c0d1df33125ac43ed753342ec6ce7)\n- 免费交流群 `562962309` [![](http:\u002F\u002Fpub.idqqimg.com\u002Fwpa\u002Fimages\u002Fgroup.png)](http:\u002F\u002Fshang.qq.com\u002Fwpa\u002Fqunwpa?idkey=52f6003e230b26addeed0ba6cf343fcf3ba5d97829d17f5b8fa5b151dba7e842)\n\n- 作者博客：[http:\u002F\u002Fblog.exrick.cn](http:\u002F\u002Fblog.exrick.cn)\n### 商用授权\n- 个人学习使用遵循GPL开源协议\n- 商用需联系作者低价授权\n### [捐赠](http:\u002F\u002Fxmall.exrick.cn)\n\n","Exrick\u002Fxmall 是一个基于SOA架构的分布式电商购物商城，实现了前后端分离。项目采用Vue全家桶构建前台商城界面，后台管理系统则利用了Dubbo、SSM框架、Elasticsearch、Redis、MySQL、ActiveMQ、Shiro和Zookeeper等技术栈，确保了系统的高可用性和可扩展性。该项目适用于需要构建高效、稳定且功能丰富的电商平台的企业或个人开发者。其核心功能包括商品管理、订单处理、用户权限控制以及系统统计等，并支持单点登录和多种支付方式集成。","2026-06-11 02:59:11","top_language"]