From e21219131b6f02741f982aabca1c2f123dca4a9c Mon Sep 17 00:00:00 2001 From: xiafang Date: Wed, 28 Oct 2020 17:38:26 +0800 Subject: [PATCH] 'init' --- .gitignore | 28 +++++++++++ README.md | 23 +++++++++ oss-spring-boot-autoconfigure/pom.xml | 52 +++++++++++++++++++ payment-spring-boot-starter/pom.xml | 15 ++++++ pom.xml | 72 +++++++++++++++++++++++++++ 5 files changed, 190 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 oss-spring-boot-autoconfigure/pom.xml create mode 100644 payment-spring-boot-starter/pom.xml create mode 100644 pom.xml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..19d077c --- /dev/null +++ b/.gitignore @@ -0,0 +1,28 @@ +# maven # +target + +logs + +# windows # +Thumbs.db + +# Mac # +.DS_Store + +# eclipse # +.settings +.project +.classpath +.log +*.class + +# idea # +.idea +*.iml + +# Package Files # +*.jar +*.war +*.ear +/target +*.bak \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..1f54f57 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# 移动支付 Spring Boot 组件 +提供聚合支付能力。 + +## 支持类型 + +- [x] **微信支付V2** 只提供V3不支持的部分。 +- [x] **微信支付V3** 全量支持。 +- [ ] **支付宝** 施工中…… +- [ ] **银联支付** 施工中…… + +## 采用技术 +- Jackson +- Okhttp +- Ali-pay-sdk +## 使用方法 +### 集成 +以**Spring Boot Starter**的形式集成到项目中。 +### 配置 +施工中…… +### API使用 +施工中…… + +## CHANGELOG diff --git a/oss-spring-boot-autoconfigure/pom.xml b/oss-spring-boot-autoconfigure/pom.xml new file mode 100644 index 0000000..3ab8cad --- /dev/null +++ b/oss-spring-boot-autoconfigure/pom.xml @@ -0,0 +1,52 @@ + + + + com.enongm.dianji + oss-spring-boot-autoconfigure + 1.0.0.RELEASE + jar + 4.0.0 + + + + + com.enongm.dianji + payment-spring-boot + 1.0.0.RELEASE + pom + import + + + + + + + org.springframework.boot + spring-boot-autoconfigure + true + + + org.springframework.boot + spring-boot-configuration-processor + true + + + org.projectlombok + lombok + compile + + + org.springframework.boot + spring-boot-starter-logging + provided + + + org.springframework.boot + spring-boot-starter-web + provided + + + + \ No newline at end of file diff --git a/payment-spring-boot-starter/pom.xml b/payment-spring-boot-starter/pom.xml new file mode 100644 index 0000000..7e61ffc --- /dev/null +++ b/payment-spring-boot-starter/pom.xml @@ -0,0 +1,15 @@ + + + + payment-spring-boot + com.enongm.dianji + 1.0.0.RELEASE + + 4.0.0 + + payment-spring-boot-starter + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..b9e3551 --- /dev/null +++ b/pom.xml @@ -0,0 +1,72 @@ + + + com.enongm.dianji + payment-spring-boot + 1.0.0.RELEASE + pom + 4.0.0 + + payment-spring-boot + payment sdk + + + oss-spring-boot-autoconfigure + payment-spring-boot-starter + + + + 1.8 + 1.8 + UTF-8 + UTF-8 + 1.8 + 2.1.14.RELEASE + 4.10.167.ALL + 1.0.0.RELEASE + 1.18.12 + + + + + + + org.springframework.boot + spring-boot-starter + ${spring-boot.version} + + + org.springframework.boot + spring-boot-autoconfigure + ${spring-boot.version} + + + org.springframework.boot + spring-boot-configuration-processor + ${spring-boot.version} + + + org.springframework.boot + spring-boot-starter-logging + ${spring-boot.version} + + + org.springframework.boot + spring-boot-starter-web + ${spring-boot.version} + + + com.alipay.sdk + alipay-sdk-java + ${aliy-pay-sdk.version} + + + org.projectlombok + lombok + ${lombok.verison} + + + + + \ No newline at end of file