diff --git a/demo-pay/.gitignore b/demo-pay/.gitignore
new file mode 100644
index 000000000..82eca336e
--- /dev/null
+++ b/demo-pay/.gitignore
@@ -0,0 +1,25 @@
+/target/
+!.mvn/wrapper/maven-wrapper.jar
+
+### STS ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### IntelliJ IDEA ###
+.idea
+*.iws
+*.iml
+*.ipr
+
+### NetBeans ###
+/nbproject/private/
+/build/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
\ No newline at end of file
diff --git a/demo-pay/README.md b/demo-pay/README.md
new file mode 100644
index 000000000..e69de29bb
diff --git a/demo-pay/pom.xml b/demo-pay/pom.xml
new file mode 100644
index 000000000..0c0c25241
--- /dev/null
+++ b/demo-pay/pom.xml
@@ -0,0 +1,85 @@
+
+
+ * 启动类 + *
+ * + * @author yangkai.shen + * @date Created in 2020-10-26 11:12 + */ +@SpringBootApplication +@RestController +public class SpringBootDemoPayApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootDemoPayApplication.class, args); + } + +} diff --git a/demo-pay/src/main/resources/application.yml b/demo-pay/src/main/resources/application.yml new file mode 100644 index 000000000..a02fbde11 --- /dev/null +++ b/demo-pay/src/main/resources/application.yml @@ -0,0 +1,4 @@ +server: + port: 8080 + servlet: + context-path: /demo \ No newline at end of file diff --git a/demo-pay/src/test/java/com/xkcoding/pay/SpringBootDemoPayApplicationTests.java b/demo-pay/src/test/java/com/xkcoding/pay/SpringBootDemoPayApplicationTests.java new file mode 100644 index 000000000..6d655a6f1 --- /dev/null +++ b/demo-pay/src/test/java/com/xkcoding/pay/SpringBootDemoPayApplicationTests.java @@ -0,0 +1,16 @@ +package com.xkcoding.pay; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit4.SpringRunner; + +@RunWith(SpringRunner.class) +@SpringBootTest +public class SpringBootDemoPayApplicationTests { + + @Test + public void contextLoads() { + } + +} diff --git a/pom.xml b/pom.xml index 93b760b5e..0110e6452 100644 --- a/pom.xml +++ b/pom.xml @@ -69,6 +69,7 @@