This commit is contained in:
2024-08-22 15:37:56 +08:00
commit 487f201631
55 changed files with 549 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
本模块为 ```访问入口层```
```
\-- web(web访问; sub-module)
\-- *.controller(package)
\-- *.converter(package)
\-- *.vo(显示层对象; package)
\-- *.utils(工具类; package)
\-- job(任务; sub-module)
\-- *.job(job定义以Job为后缀; package)
\-- *.dto(数据结构; package)
\-- *.converter(package)
\-- *.utils(工具类; package)
\-- mq(消息消费处理; sub-module)
\-- *.consumer(package)
\-- *.dto(数据结构; package)
\-- *.converter(package)
\-- *.utils(工具类; package)
\-- rpc(对外提供rpc; sub-module)
\-- *.RpcService(package)
\-- *.dto(数据结构; package)
\-- *.converter(package)
\-- *.utils(工具类; package)
```

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-entrance</artifactId>
<version>{{ .version }}</version>
</parent>
<artifactId>{{ .artifactId }}-entrance-job</artifactId>
</project>

View File

@@ -0,0 +1,4 @@
存放dtoConverter
```
\-- *Converter.java
```

View File

@@ -0,0 +1,4 @@
存放dto
```
\-- *DTO.java
```

View File

@@ -0,0 +1,4 @@
存放job file
```
\-- *Job.java
```

View File

@@ -0,0 +1,4 @@
存放工具类
```
\-- *Util.java
```

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-entrance</artifactId>
<version>{{ .version }}</version>
</parent>
<artifactId>{{ .artifactId }}-entrance-mq</artifactId>
<dependencies>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-service</artifactId>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1,4 @@
存放消息消费者
```
\-- *Consumer.java
```

View File

@@ -0,0 +1,4 @@
存放DTOConverter
```
\-- *Converter.java
```

View File

@@ -0,0 +1,4 @@
存放DTO
```
\-- *DTO.java
```

View File

@@ -0,0 +1,4 @@
存放工具类
```
\-- *Util.java
```

28
template/entrance/pom.xml Normal file
View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}</artifactId>
<version>{{ .version }}</version>
</parent>
<artifactId>{{ .artifactId }}-entrance</artifactId>
<version>{{ .version }}</version>
<packaging>pom</packaging>
<dependencies>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-common</artifactId>
</dependency>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .parentArtifactId }}-common</artifactId>
</dependency>
</dependencies>
<modules>
<module>job</module>
<module>mq</module>
<module>web</module>
<module>rpc</module>
</modules>
</project>

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-entrance</artifactId>
<version>{{ .version }}</version>
</parent>
<artifactId>{{ .artifactId }}-entrance-rpc</artifactId>
<dependencies>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-service</artifactId>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1,4 @@
存放DTOConverter
```
\-- *Converter.java
```

View File

@@ -0,0 +1,4 @@
存放DTO
```
\-- *DTO.java
```

View File

@@ -0,0 +1,4 @@
存放工具类
```
\-- *Util.java
```

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-entrance</artifactId>
<version>{{ .version }}</version>
</parent>
<artifactId>{{ .artifactId }}-entrance-web</artifactId>
<version>{{ .version }}</version>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-service</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1,4 @@
存放Controller
```
\-- *Controller.java
```

View File

@@ -0,0 +1,4 @@
存放VOConverter
```
\-- *VOConverter.java
```

View File

@@ -0,0 +1,4 @@
存放工具类
```
\-- *Util.java
```

View File

@@ -0,0 +1,4 @@
存放VO
```
\-- *VO.java
```