Mall System
Based on the latest RuoyiPlus backend architecture, 49 DOs / 73 Controllers, menu ID starting from 14000, building a complete e-commerce mall solution
1. Enhancement Positioning and Architecture
1.1 Product Positioning
RuoYiPlus Mall focuses on three core areas for enterprise enhancement: Product Management, Order Transactions, and Marketing Promotions, building a complete B2C e-commerce mall system.
1.2 Module Scale
| Metric | Value |
|---|---|
| Data Objects (DO) | 49 |
| Controllers | 73 |
| Menu ID Start | 14000 |
| Maven Module | yudao-module-mall |
1.3 Core Data Tables
| Table Name | Description |
|---|---|
mall_product | Product Management |
mall_order | Order Management |
mall_promotion | Promotion Management |
mall_delivery | Delivery Management |
mall_after_sale | After-Sales Management |
mall_statistics | Statistics Management |
mall_coupon | Coupons |
mall_bargain | Bargain Activities |
mall_combination | Combination Packages |
mall_seckill | Flash Sale Activities |
graph TB
subgraph "RuoYiPlus Mall Enhanced Architecture"
subgraph "Product Layer"
A1[Product Management]
A2[Category Management]
A3[Brand Management]
A4[Review Management]
end
subgraph "Transaction Layer"
B1[Cart]
B2[Order Management]
B3[Payment Management]
B4[Delivery Management]
end
subgraph "Marketing Layer"
C1[Coupons]
C2[Flash Sale Activities]
C3[Bargain Activities]
C4[Combination Packages]
end
subgraph "Service Layer"
D1[After-Sales Management]
D2[Refund Management]
D3[Customer Service Integration]
end
subgraph "Control Layer"
E1[Permission Control]
E2[Data Audit]
E3[Risk Control Management]
end
end
A1 --> B1
A2 --> A1
A3 --> A1
A4 --> A1
B1 --> B2
B2 --> B3
B3 --> B4
C1 --> B2
C2 --> B2
C3 --> B2
C4 --> B2
B4 --> D1
D1 --> D2
D2 --> D3
A1 --> E1
B2 --> E2
B3 --> E3
1.4 Capability Comparison
| Dimension | Traditional Mall | RuoYiPlus Mall Enhanced |
|---|---|---|
| Product Management | Basic products | Multi-spec + multi-SKU management |
| Order Management | Basic orders | Full-process order management |
| Marketing Promotions | Simple discounts | Flash sales + bargains + combo packages |
| Delivery Management | None | Multi-carrier + shipping templates |
| After-Sales Service | None | Refund + return + exchange |
| Data Analysis | Simple statistics | Transaction analysis + product analysis |
| Permission Control | Basic permissions | Merchant-level + product-level permissions |
| Risk & Compliance | None | Transaction risk control + operation audit |
2. Product Management System
2.1 Product Architecture
graph TB
subgraph "Product Management"
A[Product Category] --> B[Product SPU]
B --> C[Product SKU]
C --> D[Product Inventory]
B --> B1[Product Name]
B --> B2[Product Details]
B --> B3[Product Images]
B --> B4[Product Parameters]
C --> C1[Spec Combinations]
C --> C2[Price Management]
C --> C3[Inventory Management]
C --> C4[Barcode Management]
D --> D1[Inventory Alert]
D --> D2[Inventory Sync]
D --> D3[Inventory Records]
end
| Capability | Description |
|---|---|
| Product Category | Multi-level category management |
| Product Management | SPU/SKU model |
| Spec Management | Multi-spec multi-SKU |
| Inventory Management | Real-time inventory + alerts |
| Review Management | Product reviews + follow-up reviews |
| Product Search | Full-text search + filtering |
3. Order Transaction Management
3.1 Order Flow
graph TB
A[Add to Cart] --> B[Confirm Order]
B --> C[Submit Order]
C --> D[Payment Processing]
D --> E{Payment Result}
E -->|Success| F[Merchant Shipment]
E -->|Failed| G[Order Cancellation]
F --> H[Logistics Delivery]
H --> I[Confirm Receipt]
I --> J[Order Completed]
I --> K[Request After-Sales]
B --> B1[Select Address]
B --> B2[Select Promotion]
B --> B3[Calculate Shipping]
F --> F1[Picking]
F --> F2[Packaging]
F --> F3[Shipping]
3.2 Order Management
| Capability | Description |
|---|---|
| Cart | Multi-product + promotion calculation |
| Order Creation | Order placement + inventory lock |
| Order Payment | Multi-payment methods |
| Order Shipment | Shipping + logistics tracking |
| Order After-Sales | Refund + return + exchange |
| Order Statistics | Transaction analysis + trends |
4. Marketing Promotion System
4.1 Marketing Activities
graph TB
subgraph "Marketing System"
A[Coupons] --> B[Threshold Coupons]
A --> C[Discount Coupons]
A --> D[Free Shipping Coupons]
E[Flash Sale Activities] --> F[Time-Limited Flash Sale]
E --> G[Quantity-Limited Flash Sale]
H[Bargain Activities] --> I[Share Bargain]
H --> J[Assist Bargain]
K[Combination Packages] --> L[Bundled Sales]
K --> M[Matching Packages]
end
| Activity Type | Description |
|---|---|
| Coupons | Threshold coupons, discount coupons, free shipping coupons |
| Flash Sale Activities | Time-limited flash sale, quantity-limited flash sale |
| Bargain Activities | Share bargain, friend assist |
| Combination Packages | Bundled sales, matching packages |
| Threshold Promotions | Tiered threshold, storewide threshold |
5. Technical Architecture
graph TB
subgraph "yudao-module-mall-plus"
subgraph "mall-biz"
A1[product Product Management]
A2[order Order Management]
A3[cart Shopping Cart]
A4[promotion Promotion Management]
A5[delivery Delivery Management]
A6[after_sale After-Sales Management]
A7[coupon Coupon Management]
A8[seckill Flash Sale Management]
A9[bargain Bargain Management]
A10[analytics Data Analysis]
end
subgraph "Permissions & Audit"
B1[permission Permission Control]
B2[audit Audit Logs]
B3[risk Risk Control Management]
end
end
A1 --> B1
A2 --> B2
A3 --> B1
A4 --> B3
A5 --> B2
A6 --> B2
6. Business Value
| Value Point | Description |
|---|---|
| Complete Mall | Product + order + payment + delivery |
| Marketing Enablement | Flash sale + bargain + coupons |
| User Growth | Social virality + membership marketing |
| Data-Driven | Transaction analysis + user profiling |
| Compliance Operations | Transaction audit + risk control management |
| Flexible Extension | Modular design + open API |