Commit 2b71a1588cbd104b65b77589ff7886948e55338d
1 parent
022e5b85
mall:初始化 trade 交易模块
Showing
7 changed files
with
76 additions
and
10 deletions
yudao-module-mall/pom.xml
| @@ -15,14 +15,15 @@ | @@ -15,14 +15,15 @@ | ||
| 15 | <name>${project.artifactId}</name> | 15 | <name>${project.artifactId}</name> |
| 16 | 16 | ||
| 17 | <description> | 17 | <description> |
| 18 | - market模块,主要实现营销相关功能 | ||
| 19 | - 例如:营销活动、banner广告、优惠券、优惠码等功能。 | 18 | + 商城大模块,由 product 商品、market 营销、trade 交易等组成 |
| 20 | </description> | 19 | </description> |
| 21 | <modules> | 20 | <modules> |
| 22 | <module>yudao-module-market-api</module> | 21 | <module>yudao-module-market-api</module> |
| 23 | <module>yudao-module-market-biz</module> | 22 | <module>yudao-module-market-biz</module> |
| 24 | <module>yudao-module-product-api</module> | 23 | <module>yudao-module-product-api</module> |
| 25 | <module>yudao-module-product-biz</module> | 24 | <module>yudao-module-product-biz</module> |
| 25 | + <module>yudao-module-trade-api</module> | ||
| 26 | + <module>yudao-module-trade-biz</module> | ||
| 26 | </modules> | 27 | </modules> |
| 27 | 28 | ||
| 28 | </project> | 29 | </project> |
yudao-module-mall/yudao-module-product-biz/pom.xml
| @@ -2,13 +2,12 @@ | @@ -2,13 +2,12 @@ | ||
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | - <modelVersion>4.0.0</modelVersion> | ||
| 6 | <parent> | 5 | <parent> |
| 7 | <groupId>cn.iocoder.boot</groupId> | 6 | <groupId>cn.iocoder.boot</groupId> |
| 8 | <artifactId>yudao-module-mall</artifactId> | 7 | <artifactId>yudao-module-mall</artifactId> |
| 9 | <version>${revision}</version> | 8 | <version>${revision}</version> |
| 10 | </parent> | 9 | </parent> |
| 11 | - | 10 | + <modelVersion>4.0.0</modelVersion> |
| 12 | <artifactId>yudao-module-product-biz</artifactId> | 11 | <artifactId>yudao-module-product-biz</artifactId> |
| 13 | <packaging>jar</packaging> | 12 | <packaging>jar</packaging> |
| 14 | 13 | ||
| @@ -18,7 +17,6 @@ | @@ -18,7 +17,6 @@ | ||
| 18 | 例如:品牌、商品分类、spu、sku等功能。 | 17 | 例如:品牌、商品分类、spu、sku等功能。 |
| 19 | </description> | 18 | </description> |
| 20 | 19 | ||
| 21 | - | ||
| 22 | <dependencies> | 20 | <dependencies> |
| 23 | <dependency> | 21 | <dependency> |
| 24 | <groupId>cn.iocoder.boot</groupId> | 22 | <groupId>cn.iocoder.boot</groupId> |
| @@ -64,4 +62,4 @@ | @@ -64,4 +62,4 @@ | ||
| 64 | 62 | ||
| 65 | </dependencies> | 63 | </dependencies> |
| 66 | 64 | ||
| 67 | -</project> | ||
| 68 | \ No newline at end of file | 65 | \ No newline at end of file |
| 66 | +</project> |
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/package-info.java
| 1 | /** | 1 | /** |
| 2 | - * TODO | 2 | + * trade 模块,主要实现交易相关功能 |
| 3 | + * 例如:订单、退款、购物车等功能。 | ||
| 3 | * | 4 | * |
| 4 | - * @author JeromeSoar | ||
| 5 | - * @since 2022-04-24 | 5 | + * 1. Controller URL:以 /trade/ 开头,避免和其它 Module 冲突 |
| 6 | + * 2. DataObject 表名:以 trade_ 开头,方便在数据库中区分 | ||
| 6 | */ | 7 | */ |
| 7 | -package cn.iocoder.yudao.module.product; | ||
| 8 | \ No newline at end of file | 8 | \ No newline at end of file |
| 9 | +package cn.iocoder.yudao.module.product; |
yudao-module-mall/yudao-module-trade-api/pom.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
| 5 | + <parent> | ||
| 6 | + <groupId>cn.iocoder.boot</groupId> | ||
| 7 | + <artifactId>yudao-module-mall</artifactId> | ||
| 8 | + <version>${revision}</version> | ||
| 9 | + </parent> | ||
| 10 | + <modelVersion>4.0.0</modelVersion> | ||
| 11 | + <artifactId>yudao-module-trade-api</artifactId> | ||
| 12 | + <packaging>jar</packaging> | ||
| 13 | + | ||
| 14 | + <name>${project.artifactId}</name> | ||
| 15 | + <description> | ||
| 16 | + trade 模块 API,暴露给其它模块调用 | ||
| 17 | + </description> | ||
| 18 | + | ||
| 19 | + <dependencies> | ||
| 20 | + <dependency> | ||
| 21 | + <groupId>cn.iocoder.boot</groupId> | ||
| 22 | + <artifactId>yudao-common</artifactId> | ||
| 23 | + </dependency> | ||
| 24 | + </dependencies> | ||
| 25 | + | ||
| 26 | +</project> |
yudao-module-mall/yudao-module-trade-biz/pom.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
| 5 | + <parent> | ||
| 6 | + <groupId>cn.iocoder.boot</groupId> | ||
| 7 | + <artifactId>yudao-module-mall</artifactId> | ||
| 8 | + <version>${revision}</version> | ||
| 9 | + </parent> | ||
| 10 | + <modelVersion>4.0.0</modelVersion> | ||
| 11 | + <artifactId>yudao-module-trade-biz</artifactId> | ||
| 12 | + <packaging>jar</packaging> | ||
| 13 | + | ||
| 14 | + <name>${project.artifactId}</name> | ||
| 15 | + <description> | ||
| 16 | + trade 模块,主要实现交易相关功能 | ||
| 17 | + 例如:订单、退款、购物车等功能。 | ||
| 18 | + </description> | ||
| 19 | + | ||
| 20 | + <dependencies> | ||
| 21 | + <dependency> | ||
| 22 | + <groupId>cn.iocoder.boot</groupId> | ||
| 23 | + <artifactId>yudao-module-trade-api</artifactId> | ||
| 24 | + <version>${revision}</version> | ||
| 25 | + </dependency> | ||
| 26 | + </dependencies> | ||
| 27 | + | ||
| 28 | +</project> |
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/dal/mysql/package-info.java
0 → 100644
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/package-info.java
0 → 100644