From 9a254841932dac758a2f290721164ec6f8a49e91 Mon Sep 17 00:00:00 2001 From: jieyuu <645634619@qq.com> Date: Sun, 17 Nov 2024 20:56:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E5=B7=A5=E7=A8=8B=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 38 +++++++ README.md | 0 pom.xml | 22 ++++ zjcf-common/pom.xml | 20 ++++ zjcf-pojo/pom.xml | 20 ++++ zjcf-server/pom.xml | 107 ++++++++++++++++++ .../main/java/com/zjcf/ZJCFApplication.java | 11 ++ .../src/main/resources/application.yml | 3 + .../java/com/zjcf/ZJCFApplicationTests.java | 13 +++ 9 files changed, 234 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 pom.xml create mode 100644 zjcf-common/pom.xml create mode 100644 zjcf-pojo/pom.xml create mode 100644 zjcf-server/pom.xml create mode 100644 zjcf-server/src/main/java/com/zjcf/ZJCFApplication.java create mode 100644 zjcf-server/src/main/resources/application.yml create mode 100644 zjcf-server/src/test/java/com/zjcf/ZJCFApplicationTests.java diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ff6309 --- /dev/null +++ b/.gitignore @@ -0,0 +1,38 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### IntelliJ IDEA ### +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws +*.iml +*.ipr + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..553f97f --- /dev/null +++ b/pom.xml @@ -0,0 +1,22 @@ + + + 4.0.0 + + com.zjcf + zjcf + 1.0-SNAPSHOT + pom + + zjcf-common + zjcf-pojo + + + + 8 + 8 + UTF-8 + + + \ No newline at end of file diff --git a/zjcf-common/pom.xml b/zjcf-common/pom.xml new file mode 100644 index 0000000..b903c45 --- /dev/null +++ b/zjcf-common/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + com.zjcf + zjcf + 1.0-SNAPSHOT + + + zjcf-common + + + 8 + 8 + UTF-8 + + + \ No newline at end of file diff --git a/zjcf-pojo/pom.xml b/zjcf-pojo/pom.xml new file mode 100644 index 0000000..2411d97 --- /dev/null +++ b/zjcf-pojo/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + com.zjcf + zjcf + 1.0-SNAPSHOT + + + zjcf-pojo + + + 8 + 8 + UTF-8 + + + \ No newline at end of file diff --git a/zjcf-server/pom.xml b/zjcf-server/pom.xml new file mode 100644 index 0000000..30a63e9 --- /dev/null +++ b/zjcf-server/pom.xml @@ -0,0 +1,107 @@ + + + 4.0.0 + com.zjcf + zjcf-server + 0.0.1-SNAPSHOT + zjcf-server + zjcf-server + + 1.8 + UTF-8 + UTF-8 + 2.6.13 + + + + + com.zjcf + zjcf-common + 1.0-SNAPSHOT + + + + org.springframework.boot + spring-boot-starter-data-redis + + + org.springframework.boot + spring-boot-starter-jdbc + + + org.springframework.boot + spring-boot-starter-quartz + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-devtools + runtime + true + + + com.mysql + mysql-connector-j + runtime + + + org.projectlombok + lombok + true + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + org.springframework.boot + spring-boot-dependencies + ${spring-boot.version} + pom + import + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + + 1.8 + 1.8 + UTF-8 + + + + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot.version} + + com.zjcf.ZJCFApplication + true + + + + repackage + + repackage + + + + + + + + diff --git a/zjcf-server/src/main/java/com/zjcf/ZJCFApplication.java b/zjcf-server/src/main/java/com/zjcf/ZJCFApplication.java new file mode 100644 index 0000000..b6e1061 --- /dev/null +++ b/zjcf-server/src/main/java/com/zjcf/ZJCFApplication.java @@ -0,0 +1,11 @@ +package com.zjcf; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class ZJCFApplication { + public static void main(String[] args) { + SpringApplication.run(ZJCFApplication.class, args); + } +} diff --git a/zjcf-server/src/main/resources/application.yml b/zjcf-server/src/main/resources/application.yml new file mode 100644 index 0000000..aa90a38 --- /dev/null +++ b/zjcf-server/src/main/resources/application.yml @@ -0,0 +1,3 @@ +server: + port: 8080 + diff --git a/zjcf-server/src/test/java/com/zjcf/ZJCFApplicationTests.java b/zjcf-server/src/test/java/com/zjcf/ZJCFApplicationTests.java new file mode 100644 index 0000000..6852ca1 --- /dev/null +++ b/zjcf-server/src/test/java/com/zjcf/ZJCFApplicationTests.java @@ -0,0 +1,13 @@ +package com.zjcf; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class ZJCFApplicationTests { + + @Test + void contextLoads() { + } + +}