Weshop基於Spring Cloud開發的小程序商城系統


WESHOP | 基於微服務的小程序商城系統

Weshop是基於Spring Cloud(Greenwich)開發的小程序商城系統,提供整套公共微服務服務模塊,包含用戶中心、商品中心、訂單中心、營銷中心四大基礎服務模塊,微信端、管理平台兩大聚合服務模塊,支持服務治理、監控和追蹤等功能。

組織結構

weshop
├── weshop-common -- 框架公共模塊
├── weshop-eureka-server -- eureka注冊中心[端口:8761]
├── weshop-config-server -- 配置中心[端口:7001]
├── weshop-api-gateway -- api網關[端口:8020]
├── weshop-hystrix-dashboard -- 斷路器監控面板[端口:1301]
├── weshop-example -- 項目示例工程
| ├── weshop-example-api -- 遠程服務api接口
| ├── weshop-example-provider -- 服務提供方[端口:9998]
| ├── weshop-example-consumer -- 服務消費方[端口:9999]
├── weshop-user-api -- 用戶中心api
├── weshop-user -- 用戶中心基礎服務[端口:8021]
├── weshop-goods-api -- 商品中心api
├── weshop-goods -- 商品中心基礎服務[端口:8022]
├── weshop-marketing-api -- 營銷中心api
├── weshop-marketing -- 營銷中心基礎服務[端口:8023]
├── weshop-order-api -- 訂單中心api
├── weshop-order -- 訂單中心基礎服務[端口:8024]
├── weshop-storage-api -- 對象存儲服務api
├── weshop-storage -- 對象存儲服務[端口:8026]
├── weshop-wechat -- 微信端聚合服務[端口:8025]
├── weshop-wechat-ui -- 微信小程序頁面
├── weshop-admin -- 管理平台聚合服務[端口:8027]
├── weshop-admin-ui -- 管理平台頁面

模塊划分

Weshop基於Spring Cloud開發的小程序商城系統

 

后端技術

技術名稱版本官網Spring Boot應用框架2.1.2.RELEASEhttps://projects.spring.io/spring-boot/spring-cloud-netflix微服務框架Greenwich.RELEASEhttps://projects.spring.io/spring-cloud/spring-cloud-config分布式配置中心2.1.4.RELEASEhttps://projects.spring.io/spring-cloud/spring-cloud-sleuth分布式服務跟蹤2.1.4.RELEASEhttps://projects.spring.io/spring-cloud/spring-cloud-stream分布式消息總線2.1.4.RELEASEhttps://projects.spring.io/spring-cloud/spring-data-redis緩存2.1.4.RELEASEhttps://projects.spring.io/spring-cloud/MyBatisORM框架3.2.1http://www.mybatis.org/mybatis-3/zh/index.htmlMapperMyBatis 通用 Mapper44.0.0https://gitee.com/free/MapperPageHelperMyBatis 分頁插件5.1.2https://gitee.com/free/Mybatis_PageHelperMyBatis Generator代碼生成1.3.5http://www.mybatis.org/generator/index.htmlSwagger2在線Api文檔2.9.2https://swagger.io/Thymeleaf模板引擎3.0.9.RELEASEhttps://www.thymeleaf.org/Logback日志組件1.1.3https://logback.qos.chDruid數據庫連接池0.2.23https://github.com/alibaba/druidHibernate Validator后端校驗框架5.4.2.Finalhttp://hibernate.org/validator/RabbitMQ消息中間件5.4.3http://www.rabbitmq.com/Redis緩存5.0.3https://redis.io/

前端技術

技術名稱版本官網React前端MVC框架16.5.1https://reactjs.org/Ant Design Pro開箱即用的中台前端/設計解決方案2.1.0https://pro.ant.design/index-cn

軟件需求

  • JDK1.8+
  • MySQL5.6+
  • RabbitMQ 3.6.x+
  • Maven3.0+
  • ZipKinServer 3.7.0+

功能

商城功能

  • 首頁
  • 專題列表、專題詳情
  • 分類列表、分類詳情
  • 品牌列表、品牌詳情
  • 新品首發、人氣推薦
  • 團購
  • 搜索
  • 商品詳情、商品評價、商品分享
  • 購物車
  • 下單
  • 訂單列表、訂單詳情
  • 地址、收藏、足跡、意見反饋
  • 客服
Weshop基於Spring Cloud開發的小程序商城系統

 

管理平台功能

  • 會員管理
  • 商城管理
  • 商品管理
  • 推廣管理
  • 系統管理

當前進度與計划

  • 公眾號文章同步
  • 文章列表、文章詳情展示
  • 分享、點贊、收藏功能實現
  • 評論相關展示和功能實現
  • 生成海報功能的實現
  • 評論消息通知功能的實現
  • 專題、標簽相關功能的實現
  • 后台管理功能實現(文章管理、評論管理等-基本完成了)

在線演示

。。。

預覽圖

服務注冊頁面

Weshop基於Spring Cloud開發的小程序商城系統

 

swagger

Weshop基於Spring Cloud開發的小程序商城系統

 

首頁

Weshop基於Spring Cloud開發的小程序商城系統

 

商品頁

Weshop基於Spring Cloud開發的小程序商城系統

 

購物車頁

Weshop基於Spring Cloud開發的小程序商城系統

 

git地址:https://gitee.com/cjbi/weshop


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM