{"id":15068775,"url":"https://github.com/newbee-ltd/newbee-mall-plus","last_synced_at":"2025-04-13T07:52:01.938Z","repository":{"id":38573800,"uuid":"330299418","full_name":"newbee-ltd/newbee-mall-plus","owner":"newbee-ltd","description":"🔥 🎉newbee-mall-plus 项目是 newbee-mall 项目的升级版本，增加了优惠券模块、商品秒杀模块、支付宝支付，优化了搜索功能，后续会继续增加功能模块以及流行的技术栈。","archived":false,"fork":false,"pushed_at":"2023-05-22T10:08:40.000Z","size":41577,"stargazers_count":654,"open_issues_count":9,"forks_count":228,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-04-04T05:08:23.858Z","etag":null,"topics":["java8","mall","miaosha","newbee-mall","seckill","spring-boot","springboot","springboot-sample","springboot2"],"latest_commit_sha":null,"homepage":"http://121.4.124.33:9001","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/newbee-ltd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-01-17T02:31:56.000Z","updated_at":"2025-03-25T05:44:55.000Z","dependencies_parsed_at":"2024-11-13T04:02:10.775Z","dependency_job_id":"9c109e22-0951-4e41-80f7-21519565402b","html_url":"https://github.com/newbee-ltd/newbee-mall-plus","commit_stats":{"total_commits":68,"total_committers":6,"mean_commits":"11.333333333333334","dds":"0.23529411764705888","last_synced_commit":"a8c057d6145cf8c6f0dbc2dc05af8e1414f0bf2c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newbee-ltd%2Fnewbee-mall-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newbee-ltd%2Fnewbee-mall-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newbee-ltd%2Fnewbee-mall-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newbee-ltd%2Fnewbee-mall-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newbee-ltd","download_url":"https://codeload.github.com/newbee-ltd/newbee-mall-plus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248681493,"owners_count":21144700,"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":["java8","mall","miaosha","newbee-mall","seckill","spring-boot","springboot","springboot-sample","springboot2"],"created_at":"2024-09-25T01:39:14.933Z","updated_at":"2025-04-13T07:52:01.910Z","avatar_url":"https://github.com/newbee-ltd.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![newbee-mall-plus-logo](https://newbee-mall.oss-cn-beijing.aliyuncs.com/poster/product/newbee-mall-plus-logo.png?x-oss-process=image/resize,h_240,w_480)\n\n![Build Status](https://img.shields.io/badge/build-passing-green.svg)\n![Version 2.0.0](https://img.shields.io/badge/version-2.0.0-yellow.svg)\n[![License](https://img.shields.io/badge/license-GPL3.0-blue.svg)](https://github.com/newbee-ltd/newbee-mall/blob/master/LICENSE)\n\n\n**当前分支已经升级至Spring Boot 3.0.5版本。**\n\nnewbee-mall-plus 项目是 [newbee-mall](https://github.com/newbee-ltd/newbee-mall)\n的升级版本，新增了优惠券模块、商品秒杀模块、支付宝支付，后续如果有技术栈和功能的升级也会放在这个仓库里，当前项目中的代码主要由 [@十三](https://github.com/newbee-mall)\n和 [@wayn111](https://github.com/wayn111) 共同开发。\n\nnewbee-mall是一套电商系统，包括基础版本(Spring Boot+Thymeleaf)、前后端分离版本(Spring Boot+Vue 3+Element-Plus+Vue-Router 4+Vuex 4+Vant 3) 、秒杀版本、Go语言版本、微服务版本(Spring Cloud Alibaba+Nacos+Sentinel+Seata+Spring Cloud Gateway+OpenFeign)。 前台商城系统包含首页门户、商品分类、新品上线、首页轮播、商品推荐、商品搜索、商品展示、购物车、订单结算、订单流程、个人订单管理、会员中心、帮助中心等模块。 后台管理系统包含数据面板、轮播图管理、商品管理、订单管理、会员管理、分类管理、设置等模块。\n\n- newbee-mall 对新手开发者十分友好，无需复杂的操作步骤，**仅需 2 秒就可以启动这个完整的商城项目；**\n- newbee-mall **也是一个企业级别的 Spring Boot 大型项目，对于各个阶段的 Java 开发者都是极佳的选择；**\n- 你可以把它作为 Spring Boot 技术栈的综合实践项目，**newbee-mall 足够符合要求，且代码开源、功能完备、流程完整、页面交互美观；**\n- 技术栈新颖且知识点丰富，学习后可以提升大家对于知识的理解和掌握，**可以进一步提升你的市场竞争力；**\n- 对于部分求职中的 Java 开发者，**你也可以将该项目放入求职简历中以丰富你的工作履历；**\n- **newbee-mall 还有一些不完善的地方，鄙人才疏学浅，望见谅；**\n- **有任何问题都可以反馈给我，我会尽量完善该项目。**\n\n![](https://raw.githubusercontent.com/newbee-ltd/newbee-mall-vue-app/master/static-files/newbee-mall.png)\n\n新蜂商城PLUS版本线上预览地址：[http://121.4.124.33:9001](http://121.4.124.33:9001?from=github)，账号可自行注册。\n\n## 升级特点\n\n1. 支持优惠券使用，包含三种类型的优惠券：注册赠券、指定分类用券、指定商品用券。 用户可以在首页领取优惠券后在下订单页面会看到满足可用条件的优惠券，选择使用后，计算订单金额时，会扣减。\n2. 添加秒杀专区，前台页面已经添加秒杀商品倒计时展示，在秒杀开启时间内， 用户对秒杀商品进行下单时，系统内秒杀接口采用redis缓存、令牌桶限流、存储过程等多种手段优化秒杀操作，使得秒杀操作最高支持万人秒杀。（附Jmeter100000请求压测截图，配置：家用电脑6核12线程运行内存16G，100000请求时长持续2分5秒、最大响应时长900毫秒、异常率0%、吞吐量798每秒。）\n   ![](./images/linux下jmeter-1s-100000请求.png)\n4. 支付宝网页支付集成，new-bee-mall-plus采用的是支付宝沙箱支付环境（真实支付环境需要企业信息），演示站点已经把沙箱买家账号/密码展示出来了\n   ![](./images/支付页面.jpg)\n5. RabbitMQ集成解耦下单支付模块、Elastic Search集成优化商城搜索展示，暂时还没有实现，如果大家喜欢的话可以提issue😎，作者会加急更新的哦\n\n## 更新日志\n### V2.4.1发布\n\n1. 集成mybatis-xmlreload，支持xml文件热加载\n2. 代码优化，通过阿里巴巴代码规范检测\n3. 升级部分依赖至最新\n\n### V2.4.0发布\n\n1. 升级Spring Boot版本至3.0+，修复低版本兼容问题\n\n### V2.3.0发布\n\n1. 升级Spring Boot版本至2.7+，JDK升级至17\n2. 修复图片上传、修改用户信息漏洞、XX功能漏洞\n\n## 开发部署\n\n```\n# 1. 克隆项目\n\n# 2. 导入项目依赖\n将newbee-mall-plus目录用idea打开，导入maven依赖\n\n# 3. 安装Mysql8.0+、Redis3.0+、Jdk17+、Maven3.5+\n\n# 4. 导入sql文件\n在项目根目录下sql文件夹下，找到`newbee_mall_plus_schema.sql`、`秒杀存储过程.sql`文件，新建mysql数据库newbee_mall_plus_db，导入其中\n\n# 5. 解压项目图片\n将项目根目录下upload.zip文件加压缩到D盘upload文件夹中，eg:D:\\\\upload\n\n# 6. 修改Mysql、Redis连接配置\n修改`application-dev.yml`文件中数据连接配置相关信息\n\n# 7. 启动项目\n找到`NewBeeMallPlusApplication`文件，右键`run AdminApplication`，启动项目\n\n# 8. 访问\n打开浏览器输入：http://localhost:28079/index.html\n```\n\n------\n\n## newbee-mall （新蜂商城）系列项目概览\n\n![newbee-mall-course-2022](https://github.com/newbee-ltd/newbee-mall-cloud/raw/main/static-files/newbee-mall-course-2022.png)\n\n| 项目名称             | 仓库地址                                                     | 备注                                                         |\n| :------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |\n| newbee-mall          | [newbee-mall in GitHub](https://github.com/newbee-ltd/newbee-mall)\u003cbr\u003e[newbee-mall in Gitee](https://gitee.com/newbee-ltd/newbee-mall) | 初始版本、Spring Boot、Thymeleaf、MyBatis、MySQL             |\n| newbee-mall-plus     | [newbee-mall-plus in GitHub](https://github.com/newbee-ltd/newbee-mall-plus)\u003cbr/\u003e[newbee-mall-plus in Gitee](https://gitee.com/newbee-ltd/newbee-mall-plus) | 升级版本、优惠券、秒杀、支付、Spring Boot、Thymeleaf、MyBatis、MySQL、Redis |\n| newbee-mall-cloud    | [newbee-mall-cloud in GitHub](https://github.com/newbee-ltd/newbee-mall-cloud)\u003cbr/\u003e[newbee-mall-cloud in Gitee](https://gitee.com/newbee-ltd/newbee-mall-cloud) | 微服务版本、分布式事务、Spring Cloud Alibaba、Nacos、Sentinel、OpenFeign、Seata |\n| newbee-mall-api      | [newbee-mall-api in GitHub](https://github.com/newbee-ltd/newbee-mall-api)\u003cbr/\u003e[newbee-mall-api in Gitee](https://gitee.com/newbee-ltd/newbee-mall-api) | 前后端分离、Spring Boot、MyBatis、Swagger、MySQL             |\n| newbee-mall-api-go   | [newbee-mall-api-go in GitHub](https://github.com/newbee-ltd/newbee-mall-api-go)\u003cbr/\u003e[newbee-mall-api-go in Gitee](https://gitee.com/newbee-ltd/newbee-mall-api-go) | 前后端分离、Go、Gin、MySQL                                   |\n| newbee-mall-vue-app  | [newbee-mall-vue-app in GitHub](https://github.com/newbee-ltd/newbee-mall-vue-app)\u003cbr/\u003e[newbee-mall-vue-app in Gitee](https://gitee.com/newbee-ltd/newbee-mall-vue-app) | 前后端分离、Vue2、Vant                                       |\n| newbee-mall-vue3-app | [newbee-mall-vue3-app in GitHub](https://github.com/newbee-ltd/newbee-mall-vue3-app)\u003cbr/\u003e[newbee-mall-vue3-app in Gitee](https://gitee.com/newbee-ltd/newbee-mall-vue3-app) | 前后端分离、Vue3、Vue-Router4、Pinia、Vant4                  |\n| vue3-admin           | [vue3-admin in GitHub](https://github.com/newbee-ltd/vue3-admin)\u003cbr/\u003e[vue3-admin in Gitee](https://gitee.com/newbee-ltd/vue3-admin) | 前后端分离、Vue3、Element-Plus、Vue-Router4、Vite            |\n\n## newbee-mall 开发及部署文档\n\n\n- [**Spring Boot 大型线上商城项目实战教程**](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [项目须知和课程约定](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [2021年12月小册全新优化升级](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [技术选型之 Spring Boot](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [前期准备工作及基础环境搭建](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [Spring Boot 项目初体验--项目搭建及启动](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [Spring Boot 之 Web 开发讲解](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [Thymeleaf 模板引擎技术介绍及整合](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [Thymeleaf 语法详解及编码实践](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [Spring Boot 实践之数据库操作](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [Spring Boot 实践之整合 Mybatis 操作数据库](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [项目初体验：启动和使用新蜂商城](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城功能模块和流程设计详解](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [前端页面设计及技术选型](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [页面布局制作及跳转逻辑实现](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [Spring Boot 实现验证码功能](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城后台管理系统登录功能实现](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [登陆拦截器设置并完善身份验证](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [通用分页功能设计与开发实践](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [jqGrid 插件整合制作分页效果](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [Spring Boot 实践之文件上传处理-1](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [Spring Boot 实践之文件上传处理-2](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城轮播图管理模块开发](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城分类管理模块开发-1](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城分类管理模块开发-2](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城商品类目三级联动功能实现](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [富文本编辑器 wangEditor 介绍及整合详解](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城商品编辑页面制作](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城商品添加功能实现](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城商品管理模块功能实现](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城首页制作-1](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城首页制作-2](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城首页模块配置及功能完善](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城会员的注册/登录功能实现](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城搜索商品功能实现](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城购物车功能实现](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城订单确认页和订单生成功能实践](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城个人订单列表和订单详情页制作](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城订单流程功能完善](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [课程总结及展望](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [Spring Boot中的事务处理](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [新蜂商城错误页面制作](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n- [常见问题汇总讲解](https://juejin.cn/book/6844733814074245133?suid=1996368849416216\u0026source=android)\n\n## 联系作者\n\n\u003e 大家有任何问题或者建议都可以在 [issues](https://github.com/newbee-ltd/newbee-mall-plus/issues) 中反馈给我，我会慢慢完善这个项目。\n\n- 我的邮箱：2449207463@qq.com\n- QQ技术交流群：791509631 719099151\n\n\u003e newbee-mall-plus 在 GitHub 和国内的码云都创建了代码仓库，如果有人访问 GitHub 比较慢的话，建议在 Gitee 上查看该项目，两个仓库会保持同步更新。\n\n- [newbee-mall-plus in GitHub](https://github.com/newbee-ltd/newbee-mall-plus)\n- [newbee-mall-plus in Gitee](https://gitee.com/newbee-ltd/newbee-mall-plus)\n\n## 软件著作权\n\n\u003e 本系统已申请软件著作权，受国家版权局知识产权以及国家计算机软件著作权保护！\n\n## 页面展示\n\n以下为商城项目的部分页面，由于篇幅所限，无法一一列举，重要节点及重要功能的页面都已整理在下方。\n\n### 商城页面预览\n\n- 秒杀商品列表页面\n\n  ![seckill-page](https://13-doc.oss-cn-beijing.aliyuncs.com/images/book01/springboot-example/seckill-page.png)\n\n- 优惠券列表页面\n\n  ![coupon-list](https://13-doc.oss-cn-beijing.aliyuncs.com/images/book01/springboot-example/coupon-list.gif)\n\n- 我的优惠券页面\n\n  ![my-coupons](https://13-doc.oss-cn-beijing.aliyuncs.com/images/book01/springboot-example/my-coupons.gif)\n\n- 支付宝接入(截的支付宝网站的预览图)\n\n  ![sandbox-pay01](https://13-doc.oss-cn-beijing.aliyuncs.com/images/book01/springboot-example/sandbox-pay01.png)\n\n  ![sandbox-pay02](https://13-doc.oss-cn-beijing.aliyuncs.com/images/book01/springboot-example/sandbox-pay02.png)\n\n- 商城首页 1\n\n  ![index](https://newbee-mall.oss-cn-beijing.aliyuncs.com/poster/product/index-01-2020.gif)\n\n- 商城首页 2\n\n  ![index](https://newbee-mall.oss-cn-beijing.aliyuncs.com/poster/product/index-02.png)\n\n- 商品搜索\n\n  ![search](https://newbee-mall.oss-cn-beijing.aliyuncs.com/poster/product/search.png)\n\n- 购物车\n\n  ![cart](https://newbee-mall.oss-cn-beijing.aliyuncs.com/poster/product/cart.png)\n\n- 订单结算\n\n  ![settle](https://newbee-mall.oss-cn-beijing.aliyuncs.com/poster/product/settle.png)\n\n- 订单列表\n\n  ![orders](https://newbee-mall.oss-cn-beijing.aliyuncs.com/poster/product/orders.png)\n\n- 支付页面\n\n  ![settle](https://newbee-mall.oss-cn-beijing.aliyuncs.com/poster/product/wx-pay.png)\n\n### 后台管理页面\n\n- 登录页\n\n  ![login](https://newbee-mall.oss-cn-beijing.aliyuncs.com/poster/product/manage-login.png)\n\n- 轮播图管理\n\n  ![carousel](https://newbee-mall.oss-cn-beijing.aliyuncs.com/poster/product/manage-carousel.png)\n\n- 新品上线\n\n  ![config](https://newbee-mall.oss-cn-beijing.aliyuncs.com/poster/product/manage-index-config.png)\n\n- 分类管理\n\n  ![category](https://newbee-mall.oss-cn-beijing.aliyuncs.com/poster/product/manage-category.png)\n\n- 商品管理\n\n  ![goods](https://newbee-mall.oss-cn-beijing.aliyuncs.com/poster/product/manage-goods.png)\n\n- 商品编辑\n\n  ![edit](https://newbee-mall.oss-cn-beijing.aliyuncs.com/poster/product/manage-goods-edit-new.png)\n\n- 订单管理\n\n  ![order](https://newbee-mall.oss-cn-beijing.aliyuncs.com/poster/product/manage-order.png)\n\n## 感谢\n\n- [spring-projects](https://github.com/spring-projects/spring-boot)\n- [thymeleaf](https://github.com/thymeleaf/thymeleaf)\n- [mybatis](https://github.com/mybatis/mybatis-3)\n- [ColorlibHQ](https://github.com/ColorlibHQ/AdminLTE)\n- [tonytomov](https://github.com/tonytomov/jqGrid)\n- [t4t5](https://github.com/t4t5/sweetalert)\n- [skytotwo](https://github.com/skytotwo/Alipay-WeChat-HTML)\n- [EasyCaptcha](https://github.com/whvcse/EasyCaptcha)\n- [wangeditor-team](https://github.com/wangeditor-team/wangEditor)\n- [Vue](https://github.com/vuejs/vue)\n- [Vant](https://github.com/youzan/vant)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewbee-ltd%2Fnewbee-mall-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewbee-ltd%2Fnewbee-mall-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewbee-ltd%2Fnewbee-mall-plus/lists"}