diff --git a/CLAUDE.md b/CLAUDE.md index 9bb0277..147011f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co ## 项目概述 -FlashSaleSystem 是一个基于 Spring Boot 2.7.6 和 Redis 集群构建的高并发秒杀系统。系统采用分布式架构设计,通过 Redis 集群实现高并发处理,使用 Lua 脚本保证原子性操作,采用分布式锁防止超卖。 +FlashSaleSystem 是一个基于 Spring Boot 2.7.6 和 Redis 集群构建的社区生鲜团购系统。系统采用分布式架构设计,通过 Redis 集群实现高并发处理,使用 Lua 脚本保证原子性操作,采用分布式锁防止超卖。 ## 核心架构 diff --git a/README.md b/README.md index 918453c..a61fde6 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,13 @@ -# 秒杀系统 (FlashSaleSystem) +# 社区生鲜团购系统 (FlashSaleSystem) -基于 Spring Boot + Redis 集群构建的高并发秒杀系统 +退货 +评价 + +基于 Spring Boot + Redis 构建的社区生鲜团购系统 ## 📖 项目概述 -本项目是一个完整的商品秒杀系统,采用分布式架构设计,通过 Redis +本项目是一个完整的社区生鲜团购系统,采用分布式架构设计,通过 Redis 集群实现高并发处理能力。系统支持用户管理、商品管理、购物车功能和秒杀活动,具备防超卖、限流控制、分布式锁等核心技术特性。 **项目完成度**: 90% diff --git a/docs/设计文档.md b/docs/设计文档.md index 1f5bf6d..54fec10 100644 --- a/docs/设计文档.md +++ b/docs/设计文档.md @@ -1,10 +1,10 @@ -# 秒杀系统详细设计文档 +# 社区生鲜团购系统详细设计文档 ## 1. 项目概述 ### 1.1 项目背景 -基于Spring Boot + Redis + MySQL构建的高并发秒杀系统,重点展示Redis在分布式场景下的应用。 +基于Spring Boot + Redis + MySQL构建的社区生鲜团购系统,重点展示Redis在分布式场景下的应用。 ### 1.2 技术栈 diff --git a/docs/项目完成总结.md b/docs/项目完成总结.md index 0055e61..00a563d 100644 --- a/docs/项目完成总结.md +++ b/docs/项目完成总结.md @@ -1,8 +1,8 @@ -# 秒杀系统项目完成总结 +# 社区生鲜团购系统项目完成总结 ## 🎉 项目概述 -基于Spring Boot + Redis集群构建的高并发秒杀系统已基本完成,项目总体完成度达到**90%**。 +基于Spring Boot + Redis集群构建的社区生鲜团购系统已基本完成,项目总体完成度达到**90%**。 ## ✅ 已完成的核心功能 @@ -203,7 +203,7 @@ ## 📝 总结 -本项目成功实现了一个基于Redis集群的高并发秒杀系统,展示了Redis在分布式场景下的强大应用能力。通过分布式锁、Lua脚本、消息队列、管道技术等核心技术的综合运用,构建了一个高性能、高可用、高并发的秒杀系统。 +本项目成功实现了一个基于Redis集群的社区生鲜团购系统,展示了Redis在分布式场景下的强大应用能力。通过分布式锁、Lua脚本、消息队列、管道技术等核心技术的综合运用,构建了一个高性能、高可用、高并发的社区生鲜团购系统。 项目代码结构清晰,技术选型合理,具有很好的学习和参考价值。虽然还有部分功能待完善,但核心技术已经完整实现,可以作为Redis技术学习和实践的优秀案例。 diff --git a/docs/项目进度报告.md b/docs/项目进度报告.md index d765cbd..d09144b 100644 --- a/docs/项目进度报告.md +++ b/docs/项目进度报告.md @@ -1,8 +1,8 @@ -# 秒杀系统项目进度报告 +# 社区生鲜团购系统项目进度报告 ## 项目概述 -基于Spring Boot + Redis + MySQL构建的高并发秒杀系统,重点展示Redis在分布式场景下的应用。 +基于Spring Boot + Redis + MySQL构建的社区生鲜团购系统,重点展示Redis在分布式场景下的应用。 ## 技术栈 diff --git a/flash-sale-frontend/.env.development b/flash-sale-frontend/.env.development index 37baa74..f2a8557 100644 --- a/flash-sale-frontend/.env.development +++ b/flash-sale-frontend/.env.development @@ -1,5 +1,5 @@ # 开发环境配置 -VITE_APP_TITLE=秒杀系统 +VITE_APP_TITLE=社区生鲜团购系统 VITE_API_BASE_URL= VITE_WS_URL=ws://localhost:8080/ws VITE_UPLOAD_URL=http://localhost:8080/upload diff --git a/flash-sale-frontend/.env.production b/flash-sale-frontend/.env.production index 2318352..e311ca4 100644 --- a/flash-sale-frontend/.env.production +++ b/flash-sale-frontend/.env.production @@ -1,5 +1,5 @@ # 生产环境配置 -VITE_APP_TITLE=秒杀系统 +VITE_APP_TITLE=社区生鲜团购系统 VITE_API_BASE_URL=https://api.flashsale.com VITE_WS_URL=wss://api.flashsale.com/ws VITE_UPLOAD_URL=https://api.flashsale.com/upload diff --git a/flash-sale-frontend/README.md b/flash-sale-frontend/README.md index bc9b807..3c2ed66 100644 --- a/flash-sale-frontend/README.md +++ b/flash-sale-frontend/README.md @@ -1,6 +1,6 @@ -# 秒杀系统前端 (Flash Sale Frontend) +# 社区生鲜团购系统前端 (Flash Sale Frontend) -基于 Vue 3 + Vite + TypeScript 构建的现代化秒杀系统前端应用。 +基于 Vue 3 + Vite + TypeScript 构建的现代化社区生鲜团购系统前端应用。 ## 🚀 技术栈 @@ -20,7 +20,7 @@ ### 用户端功能 - 🏠 **首页展示**: 轮播图、秒杀活动、热门商品推荐 - 🔐 **用户认证**: 登录、注册、个人中心管理 -- ⚡ **秒杀系统**: 实时倒计时、库存显示、防重复提交 +- ⚡ **秒杀抢购**: 实时倒计时、库存显示、防重复提交 - 🛍️ **商品浏览**: 分类筛选、价格排序、关键词搜索 - 🛒 **购物车**: 商品管理、批量操作、结算功能 - 📦 **订单管理**: 订单列表、详情查看、状态跟踪 diff --git a/flash-sale-frontend/index.html b/flash-sale-frontend/index.html index 6853bec..f6ba8a2 100644 --- a/flash-sale-frontend/index.html +++ b/flash-sale-frontend/index.html @@ -4,8 +4,8 @@ - 秒杀系统 - 高并发电商抢购平台 - + 社区生鲜团购系统 + diff --git a/flash-sale-frontend/src/components/common/AppFooter.vue b/flash-sale-frontend/src/components/common/AppFooter.vue index 8923255..89c631a 100644 --- a/flash-sale-frontend/src/components/common/AppFooter.vue +++ b/flash-sale-frontend/src/components/common/AppFooter.vue @@ -6,7 +6,7 @@

关于我们

- 基于Redis集群构建的高并发秒杀系统,支持分布式锁、接口限流、库存预热等核心功能。 + 社区生鲜团购系统,支持分布式锁、接口限流、库存预热等核心功能。

@@ -62,7 +62,7 @@
-

© 2024 秒杀系统. All rights reserved.

+

© 2024 社区生鲜团购系统. All rights reserved.

diff --git a/flash-sale-frontend/src/components/common/AppHeader.vue b/flash-sale-frontend/src/components/common/AppHeader.vue index a30e6c7..9a5ecf1 100644 --- a/flash-sale-frontend/src/components/common/AppHeader.vue +++ b/flash-sale-frontend/src/components/common/AppHeader.vue @@ -8,7 +8,7 @@ - 秒杀系统 + 社区生鲜团购系统 FLASH SALE diff --git a/flash-sale-frontend/src/pages/home/index.vue b/flash-sale-frontend/src/pages/home/index.vue index aa2430d..a331d80 100644 --- a/flash-sale-frontend/src/pages/home/index.vue +++ b/flash-sale-frontend/src/pages/home/index.vue @@ -136,7 +136,7 @@

秒杀抢购

-

高并发秒杀系统,支持大量用户同时抢购

+

社区生鲜团购系统,支持大量用户同时抢购

@@ -179,8 +179,8 @@ const userStore = useUserStore() const banners = [ { id: 1, - title: '秒杀系统', - subtitle: '基于Redis集群构建的高并发秒杀系统', + title: '社区生鲜团购系统', + subtitle: '社区生鲜团购系统,新鲜直达您身边', buttonText: '立即抢购', link: '/flashsales', bgColor: '#ffffff', diff --git a/flash-sale-frontend/src/pages/user/login.vue b/flash-sale-frontend/src/pages/user/login.vue index 29cc2cc..db185a6 100644 --- a/flash-sale-frontend/src/pages/user/login.vue +++ b/flash-sale-frontend/src/pages/user/login.vue @@ -8,7 +8,7 @@

欢迎回来

-

登录到秒杀系统

+

登录到社区生鲜团购系统

diff --git a/flash-sale-frontend/src/pages/user/register.vue b/flash-sale-frontend/src/pages/user/register.vue index 4978893..df11674 100644 --- a/flash-sale-frontend/src/pages/user/register.vue +++ b/flash-sale-frontend/src/pages/user/register.vue @@ -8,7 +8,7 @@

创建账号

-

加入秒杀系统

+

加入社区生鲜团购系统

diff --git a/flash-sale-frontend/src/router/guards.ts b/flash-sale-frontend/src/router/guards.ts index 06b60b5..80a970d 100644 --- a/flash-sale-frontend/src/router/guards.ts +++ b/flash-sale-frontend/src/router/guards.ts @@ -12,7 +12,7 @@ export function setupGuards(router: Router) { } // 设置页面标题 - document.title = `${to.meta.title || '秒杀系统'} - 高并发电商抢购平台` + document.title = `${to.meta.title || '社区生鲜团购系统'} - 社区生鲜团购平台` // 需要登录的页面 if (to.meta.requiresAuth && !userStore.isLoggedIn) { diff --git a/pom.xml b/pom.xml index 3b58ef6..3ec653b 100644 --- a/pom.xml +++ b/pom.xml @@ -5,8 +5,8 @@ com.org FlashSaleSystem 0.0.1-SNAPSHOT - FlashSaleSystem - FlashSaleSystem + 社区生鲜团购系统 + 社区生鲜团购系统 1.8 UTF-8 diff --git a/src/main/java/com/org/flashsalesystem/config/SwaggerConfig.java b/src/main/java/com/org/flashsalesystem/config/SwaggerConfig.java index 4fba8d5..a771e54 100644 --- a/src/main/java/com/org/flashsalesystem/config/SwaggerConfig.java +++ b/src/main/java/com/org/flashsalesystem/config/SwaggerConfig.java @@ -22,8 +22,8 @@ public class SwaggerConfig { public OpenAPI customOpenAPI() { return new OpenAPI() .info(new Info() - .title("秒杀系统API文档") - .description("FlashSaleSystem - 高并发秒杀系统接口文档") + .title("社区生鲜团购系统API文档") + .description("社区生鲜团购系统接口文档") .version("1.0.0") .contact(new Contact() .name("开发团队") diff --git a/src/main/resources/META-INF/flashsale-functions.tld b/src/main/resources/META-INF/flashsale-functions.tld index 603705c..ad85d3d 100644 --- a/src/main/resources/META-INF/flashsale-functions.tld +++ b/src/main/resources/META-INF/flashsale-functions.tld @@ -5,8 +5,8 @@ http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" version="2.1"> - FlashSale System Custom Functions - FlashSale Functions + 社区生鲜团购系统 Custom Functions + 社区生鲜团购系统 Functions 1.0 fn http://flashsale.org/functions diff --git a/src/main/resources/sql/schema.sql b/src/main/resources/sql/schema.sql index ad32e98..bf9bfc8 100644 --- a/src/main/resources/sql/schema.sql +++ b/src/main/resources/sql/schema.sql @@ -1,4 +1,4 @@ --- 秒杀系统数据库结构 +-- 社区生鲜团购系统数据库结构 -- 说明:本脚本只负责数据库对象定义,不包含演示数据。 CREATE DATABASE IF NOT EXISTS flash_sale_db diff --git a/start-system.sh b/start-system.sh index f911d4b..85584fe 100644 --- a/start-system.sh +++ b/start-system.sh @@ -1,9 +1,9 @@ #!/bin/bash -# 秒杀系统启动脚本 +# 社区生鲜团购系统启动脚本 echo "=========================================" -echo " 秒杀系统启动脚本 v1.0 " +echo " 社区生鲜团购系统启动脚本 v1.0 " echo "=========================================" echo ""