在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:gulimall开源软件地址:https://gitee.com/agoni_no/gulimall开源软件介绍:谷粒商城简介前言gulimall` 项目致力于打造一个完整的电商系统,采用现阶段流行技术来实现,采用前后端分离继续编写。 项目API接口文档项目介绍gulimall(谷粒商城) 项目是一套电商项目,包括前台商城系统以及后台管理系统,基于 SpringCloud + SpringCloudAlibaba + MyBatis-Plus实现,采用 Docker 容器化部署。前台商城系统包括:用户登录、注册、商品搜索、商品详情、购物车、下订单流程、秒杀活动等模块。后台管理系统包括:系统管理、商品系统、优惠营销、库存系统、订单系统、用户系统、内容管理等七大模块。 项目演示前台部分功能演示效果后端登录界面主页面后台部分功能组织结构gulimall├── gulimall-common -- 工具类及通用代码├── renren-generator -- 人人开源项目的代码生成器├── gulimall-auth-server -- 认证中心(社交登录、OAuth2.0、单点登录)├── gulimall-cart -- 购物车服务├── gulimall-coupon -- 优惠卷服务├── gulimall-gateway -- 统一配置网关├── gulimall-order -- 订单服务├── gulimall-product -- 商品服务├── gulimall-search -- 检索服务├── gulimall-seckill -- 秒杀服务├── gulimall-third-party -- 第三方服务├── gulimall-ware -- 仓储服务└── gulimall-member -- 会员服务 技术选型后端技术
前端技术
架构图系统架构图 业务架构图 环境搭建开发工具
开发环境
注意:以上的除了jdk都是采用docker方式进行安装,详细安装步骤可参考百度!!! 搭建步骤
192.168.77.130 gulimall.com192.168.77.130 search.gulimall.com192.168.77.130 item.gulimall.com192.168.77.130 auth.gulimall.com192.168.77.130 cart.gulimall.com192.168.77.130 order.gulimall.com192.168.77.130 member.gulimall.com192.168.77.130 seckill.gulimall.com以上端口换成自己Linux的ip地址
1、在nginx.conf中添加负载均衡的配置 upstream gulimall { server 192.168.43.182:88; }2、在gulimall.conf中添加如下配置server { listen 80; server_name gulimall.com *.gulimall.com hjl.mynatapp.cc; #charset koi8-r; #access_log /var/log/nginx/log/host.access.log main; #配置静态资源的动态分离 location /static/ { root /usr/share/nginx/html; } #支付异步回调的一个配置 location /payed/ { proxy_set_header Host order.gulimall.com; #不让请求头丢失 proxy_pass http://gulimall; } location / { #root /usr/share/nginx/html; #index index.html index.htm; proxy_set_header Host $host; #不让请求头丢失 proxy_pass http://gulimall; }
如果你喜欢,要是觉得对你有帮助的话,请点个赞是对我最大的支持! |
请发表评论