# online-mall **Repository Path**: abadstring-full-stack/online-mall ## Basic Information - **Project Name**: online-mall - **Description**: B2C 模式的电商平台,销售自营商品给客户 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2021-12-11 - **Last Updated**: 2025-03-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: Vue, Docker, Redis, SpringCloud, ElasticSearch ## README

B2C 模式的电商平台,销售自营商品给客户

# 1. 其他文档 - [业务文档](document/01_业务文档.md) - [中间件技术](document/02_中间件技术.md) - [第三方库技术](document/03_第三方库技术.md) # 项目结构 ![项目结构](document/image/系统设计/项目结构.png) # 2. 部署图 开发环境网络拓扑图 ![](document/image/系统设计/开发网络拓扑图.png) 生产环境网络拓扑图 ![部署图](document/image/系统设计/部署图v3.0.png) # 3. 编译源代码 ## 3.1. 编译各个微服务后端 在本文件同级目录下执行 ```shell mvn clean package -DskipTests ``` 得到下面的输出,表示编译成功 ```shell [INFO] online-mall ........................................ SUCCESS [ 0.003 s] [INFO] spring-cloud-starter ............................... SUCCESS [ 1.588 s] [INFO] online-mall-gateway ................................ SUCCESS [ 1.528 s] [INFO] mybatis-data-starter ............................... SUCCESS [ 0.174 s] [INFO] rest-api-starter ................................... SUCCESS [ 0.199 s] [INFO] online-mall-common ................................. SUCCESS [ 0.143 s] [INFO] online-mall-product-application .................... SUCCESS [ 0.666 s] [INFO] online-mall-order-application ...................... SUCCESS [ 0.297 s] [INFO] online-mall-ware-application ....................... SUCCESS [ 0.399 s] [INFO] online-mall-member-application ..................... SUCCESS [ 0.521 s] [INFO] online-mall-coupon-application ..................... SUCCESS [ 0.604 s] [INFO] online-mall-file-application ....................... SUCCESS [ 0.542 s] [INFO] online-mall-search-application ..................... SUCCESS [ 0.494 s] [INFO] file-system-starter ................................ SUCCESS [ 0.075 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ ``` 各个应用 `online-mall-X-application` 的 jar 包会自动放到对应的 `docker/online-mall/X/online-mall-X.jar` 文件中 ## 3.2. 编译后台管理后端服务应用 进入目录 `admin/renren-fast`,并执行 ```shell mvn clean package -DskipTests ``` 将打包后的 `admin/renren-fast/target/renren-fast.jar` 拷贝到 `docker/online-mall/admin` 目录下,并重命名为 `online-mall-admin.jar` ## 3.3. 编译后台管理的前端 进入目录 `admin/renren-fast-vue`,并执行 ```shell npm run build ``` 将编译后在 `admin/renren-fast-vue/dist` 目录下,全部拷贝到 `data/nginx` 目录下