commit 175840e225437c0e0c03db58a2d3d257ec6cd9eb Author: bunny <1319900154@qq.com> Date: Mon Apr 1 18:25:16 2024 +0800 feat(init): init 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/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/deployment.xml b/.idea/deployment.xml new file mode 100644 index 0000000..0ebb202 --- /dev/null +++ b/.idea/deployment.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..23fa348 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..5755a99 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/prettier.xml b/.idea/prettier.xml new file mode 100644 index 0000000..b0ab31a --- /dev/null +++ b/.idea/prettier.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/common/common-util/pom.xml b/common/common-util/pom.xml new file mode 100644 index 0000000..bfd5c40 --- /dev/null +++ b/common/common-util/pom.xml @@ -0,0 +1,23 @@ + + 4.0.0 + + com.atguigu + common + 1.0-SNAPSHOT + + + common-util + jar + + common-util + https://maven.apache.org + + + UTF-8 + + + + + + diff --git a/common/common-util/src/main/java/com/atguigu/App.java b/common/common-util/src/main/java/com/atguigu/App.java new file mode 100644 index 0000000..74498e7 --- /dev/null +++ b/common/common-util/src/main/java/com/atguigu/App.java @@ -0,0 +1,13 @@ +package com.atguigu; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/common/common-util/src/test/java/com/atguigu/AppTest.java b/common/common-util/src/test/java/com/atguigu/AppTest.java new file mode 100644 index 0000000..8d3dbe2 --- /dev/null +++ b/common/common-util/src/test/java/com/atguigu/AppTest.java @@ -0,0 +1,38 @@ +package com.atguigu; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +} diff --git a/common/pom.xml b/common/pom.xml new file mode 100644 index 0000000..6abd08c --- /dev/null +++ b/common/pom.xml @@ -0,0 +1,55 @@ + + 4.0.0 + + com.atguigu + guigu-ssyx-parent + 1.0-SNAPSHOT + + + common + pom + + common + https://maven.apache.org + + common-util + service-util + + + + UTF-8 + + + + + org.springframework.boot + spring-boot-starter-web + provided + + + + + org.projectlombok + lombok + + + + com.github.xiaoymin + knife4j-spring-boot-starter + + + + + com.alibaba + fastjson + + + + + org.springframework.cloud + spring-cloud-starter-openfeign + provided + + + diff --git a/common/service-util/pom.xml b/common/service-util/pom.xml new file mode 100644 index 0000000..0332a77 --- /dev/null +++ b/common/service-util/pom.xml @@ -0,0 +1,60 @@ + + 4.0.0 + + com.atguigu + common + 1.0-SNAPSHOT + + + service-util + jar + + service-util + https://maven.apache.org + + + UTF-8 + + + + + com.atguigu + common-util + 1.0-SNAPSHOT + + + + + org.springframework.boot + spring-boot-starter-data-redis + + + + + org.apache.commons + commons-pool2 + 2.6.0 + + + + + org.redisson + redisson + 3.11.2 + + + + + com.baomidou + mybatis-plus-boot-starter + provided + + + com.atguigu + model + 1.0-SNAPSHOT + compile + + + diff --git a/common/service-util/src/main/java/com/atguigu/App.java b/common/service-util/src/main/java/com/atguigu/App.java new file mode 100644 index 0000000..74498e7 --- /dev/null +++ b/common/service-util/src/main/java/com/atguigu/App.java @@ -0,0 +1,13 @@ +package com.atguigu; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/common/service-util/src/test/java/com/atguigu/AppTest.java b/common/service-util/src/test/java/com/atguigu/AppTest.java new file mode 100644 index 0000000..8d3dbe2 --- /dev/null +++ b/common/service-util/src/test/java/com/atguigu/AppTest.java @@ -0,0 +1,38 @@ +package com.atguigu; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +} diff --git a/model/pom.xml b/model/pom.xml new file mode 100644 index 0000000..fb648cd --- /dev/null +++ b/model/pom.xml @@ -0,0 +1,44 @@ + + 4.0.0 + + com.atguigu + guigu-ssyx-parent + 1.0-SNAPSHOT + + + model + jar + + model + https://maven.apache.org + + + UTF-8 + + + + + + org.apache.httpcomponents + httpclient + + + + io.jsonwebtoken + jjwt + + + + joda-time + joda-time + + + + com.atguigu + model + 1.0-SNAPSHOT + provided + + + diff --git a/model/src/main/java/com/atguigu/App.java b/model/src/main/java/com/atguigu/App.java new file mode 100644 index 0000000..74498e7 --- /dev/null +++ b/model/src/main/java/com/atguigu/App.java @@ -0,0 +1,13 @@ +package com.atguigu; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/model/src/test/java/com/atguigu/AppTest.java b/model/src/test/java/com/atguigu/AppTest.java new file mode 100644 index 0000000..8d3dbe2 --- /dev/null +++ b/model/src/test/java/com/atguigu/AppTest.java @@ -0,0 +1,38 @@ +package com.atguigu; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +} diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..c927133 --- /dev/null +++ b/pom.xml @@ -0,0 +1,137 @@ + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.3.6.RELEASE + + + com.atguigu + guigu-ssyx-parent + 1.0-SNAPSHOT + pom + + guigu-ssyx-parent + https://maven.apache.org + + common + model + service + + + + UTF-8 + true + 1.8 + Hoxton.SR8 + 2.2.2.RELEASE + 3.4.1 + 8.0.30 + 0.7.0 + 2.0.0 + 4.5.1 + 3.1.0 + 4.1.1 + 3.9.1 + 2.0.8 + 2.10.1 + 2.3.0 + + + + + + + org.springframework.cloud + spring-cloud-dependencies + ${cloud.version} + pom + import + + + com.alibaba.cloud + spring-cloud-alibaba-dependencies + ${alibaba.version} + pom + import + + + + com.baomidou + mybatis-plus-boot-starter + ${mybatis-plus.version} + + + mysql + mysql-connector-java + ${mysql.version} + + + com.github.xiaoymin + knife4j-spring-boot-starter + 2.0.8 + + + io.jsonwebtoken + jjwt + ${jwt.version} + + + org.apache.httpcomponents + httpclient + ${httpclient.version} + + + com.alibaba + fastjson + ${fastjson.version} + + + com.alibaba + easyexcel + ${easyexcel.version} + + + com.aliyun + aliyun-java-sdk-core + ${aliyun.version} + + + + joda-time + joda-time + ${jodatime.version} + + + com.xuxueli + xxl-job-core + ${xxl-job.version} + + + + + + nexus-aliyun + Nexus aliyun + default + https://maven.aliyun.com/repository/public + + false + + + true + + + + spring + https://maven.aliyun.com/repository/spring + + true + + + true + + + + diff --git a/service/pom.xml b/service/pom.xml new file mode 100644 index 0000000..71ee06f --- /dev/null +++ b/service/pom.xml @@ -0,0 +1,77 @@ + + 4.0.0 + + com.atguigu + guigu-ssyx-parent + 1.0-SNAPSHOT + + + service + jar + + service + https://maven.apache.org + + + UTF-8 + + + + + + com.atguigu + service-util + 1.0-SNAPSHOT + + + + com.atguigu + model + 1.0-SNAPSHOT + + + + + org.springframework.boot + spring-boot-starter-web + + + + + com.baomidou + mybatis-plus-boot-starter + + + + + mysql + mysql-connector-java + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + + org.springframework.cloud + spring-cloud-starter-openfeign + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-sentinel + + + + + org.springframework.boot + spring-boot-devtools + true + + + diff --git a/service/src/main/java/com/atguigu/App.java b/service/src/main/java/com/atguigu/App.java new file mode 100644 index 0000000..74498e7 --- /dev/null +++ b/service/src/main/java/com/atguigu/App.java @@ -0,0 +1,13 @@ +package com.atguigu; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/service/src/test/java/com/atguigu/AppTest.java b/service/src/test/java/com/atguigu/AppTest.java new file mode 100644 index 0000000..8d3dbe2 --- /dev/null +++ b/service/src/test/java/com/atguigu/AppTest.java @@ -0,0 +1,38 @@ +package com.atguigu; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +}