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 @@ + + + 4.0.0 + + demo-pay + 1.0.0-SNAPSHOT + jar + + demo-pay + Demo project for Spring Boot + + + com.xkcoding + spring-boot-demo + 1.0.0-SNAPSHOT + + + + UTF-8 + UTF-8 + 1.8 + 2.7.0 + 3.4.1 + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + cn.hutool + hutool-all + + + + com.github.javen205 + IJPay-All + ${ijpay.version} + + + + com.google.zxing + core + ${zxing.version} + + + + com.google.zxing + javase + ${zxing.version} + + + + com.alipay.sdk + alipay-sdk-java + 4.10.159.ALL + + + + org.projectlombok + lombok + true + + + + + demo-pay + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/demo-pay/src/main/java/com/xkcoding/pay/SpringBootDemoPayApplication.java b/demo-pay/src/main/java/com/xkcoding/pay/SpringBootDemoPayApplication.java new file mode 100644 index 000000000..a8990feb5 --- /dev/null +++ b/demo-pay/src/main/java/com/xkcoding/pay/SpringBootDemoPayApplication.java @@ -0,0 +1,23 @@ +package com.xkcoding.pay; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.web.bind.annotation.RestController; + +/** + *

+ * 启动类 + *

+ * + * @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 @@ demo-elasticsearch-rest-high-level-client demo-https demo-flyway + demo-pay pom @@ -83,7 +84,7 @@ 1.8 2.1.0.RELEASE 8.0.21 - 5.4.1 + 5.4.5 29.0-jre 1.20