commit cad8dfad8bead231d321f6b98a708ad5df0ebf37 Author: heruifeng Date: Sat Aug 2 16:17:08 2025 +0800 init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..acb7754 --- /dev/null +++ b/.gitignore @@ -0,0 +1,39 @@ +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 +.idea + +### 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/pom.xml b/pom.xml new file mode 100644 index 0000000..678437b --- /dev/null +++ b/pom.xml @@ -0,0 +1,54 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.4.0 + + + com.waper + wp-3d-mall-doc + 0.0.1-SNAPSHOT + + + 1.8 + + + + + nexus-maven + nexus-maven + https://oss.sonatype.org/content/repositories/snapshots/ + + + + + org.springframework.boot + spring-boot-starter-web + + + + com.github.xiaoymin + knife4j-aggregation-spring-boot-starter + 4.0.0 + + + + org.springframework.boot + spring-boot-starter-test + test + + + + doc + + + org.springframework.boot + spring-boot-maven-plugin + + + + \ No newline at end of file diff --git a/src/main/java/com/waper/Application.java b/src/main/java/com/waper/Application.java new file mode 100644 index 0000000..03425fc --- /dev/null +++ b/src/main/java/com/waper/Application.java @@ -0,0 +1,11 @@ +package com.waper; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class Application { + public static void main(String[] args) { + SpringApplication.run(Application.class, args); + } +} diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml new file mode 100644 index 0000000..43147aa --- /dev/null +++ b/src/main/resources/application.yml @@ -0,0 +1,21 @@ +server: + port: 18890 +knife4j: + cloud: + enable: true + routes: + - name: 通用模块 + uri: 120.76.221.49:8890 + location: /v3/api-docs/2.通用模块 + - name: 系统模块 + uri: 120.76.221.49:8890 + location: /v3/api-docs/3.系统模块 + - name: 3d-mall模块 + uri: 120.76.221.49:8890 + location: /v3/api-docs/5.3d-mall模块 + connection-setting: + socket-timeout: 20000 + connect-timeout: 20000 + max-connection-total: 200 + max-pre-route: 20 + enableAggregation: true \ No newline at end of file