mirror of
https://github.com/dromara/payment-spring-boot.git
synced 2026-03-16 23:13:41 +08:00
'init'
This commit is contained in:
28
.gitignore
vendored
Normal file
28
.gitignore
vendored
Normal file
@@ -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
|
||||||
23
README.md
Normal file
23
README.md
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# 移动支付 Spring Boot 组件
|
||||||
|
提供聚合支付能力。
|
||||||
|
|
||||||
|
## 支持类型
|
||||||
|
|
||||||
|
- [x] **微信支付V2** 只提供V3不支持的部分。
|
||||||
|
- [x] **微信支付V3** 全量支持。
|
||||||
|
- [ ] **支付宝** 施工中……
|
||||||
|
- [ ] **银联支付** 施工中……
|
||||||
|
|
||||||
|
## 采用技术
|
||||||
|
- Jackson
|
||||||
|
- Okhttp
|
||||||
|
- Ali-pay-sdk
|
||||||
|
## 使用方法
|
||||||
|
### 集成
|
||||||
|
以**Spring Boot Starter**的形式集成到项目中。
|
||||||
|
### 配置
|
||||||
|
施工中……
|
||||||
|
### API使用
|
||||||
|
施工中……
|
||||||
|
|
||||||
|
## CHANGELOG
|
||||||
52
oss-spring-boot-autoconfigure/pom.xml
Normal file
52
oss-spring-boot-autoconfigure/pom.xml
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
|
||||||
|
<groupId>com.enongm.dianji</groupId>
|
||||||
|
<artifactId>oss-spring-boot-autoconfigure</artifactId>
|
||||||
|
<version>1.0.0.RELEASE</version>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<dependencyManagement>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.enongm.dianji</groupId>
|
||||||
|
<artifactId>payment-spring-boot</artifactId>
|
||||||
|
<version>1.0.0.RELEASE</version>
|
||||||
|
<type>pom</type>
|
||||||
|
<scope>import</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</dependencyManagement>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-autoconfigure</artifactId>
|
||||||
|
<optional>true</optional>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
||||||
|
<optional>true</optional>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.projectlombok</groupId>
|
||||||
|
<artifactId>lombok</artifactId>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-logging</artifactId>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
</project>
|
||||||
15
payment-spring-boot-starter/pom.xml
Normal file
15
payment-spring-boot-starter/pom.xml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<parent>
|
||||||
|
<artifactId>payment-spring-boot</artifactId>
|
||||||
|
<groupId>com.enongm.dianji</groupId>
|
||||||
|
<version>1.0.0.RELEASE</version>
|
||||||
|
</parent>
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<artifactId>payment-spring-boot-starter</artifactId>
|
||||||
|
|
||||||
|
|
||||||
|
</project>
|
||||||
72
pom.xml
Normal file
72
pom.xml
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<groupId>com.enongm.dianji</groupId>
|
||||||
|
<artifactId>payment-spring-boot</artifactId>
|
||||||
|
<version>1.0.0.RELEASE</version>
|
||||||
|
<packaging>pom</packaging>
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<name>payment-spring-boot</name>
|
||||||
|
<description>payment sdk</description>
|
||||||
|
|
||||||
|
<modules>
|
||||||
|
<module>oss-spring-boot-autoconfigure</module>
|
||||||
|
<module>payment-spring-boot-starter</module>
|
||||||
|
</modules>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
|
<java.version>1.8</java.version>
|
||||||
|
<spring-boot.version>2.1.14.RELEASE</spring-boot.version>
|
||||||
|
<aliy-pay-sdk.version>4.10.167.ALL</aliy-pay-sdk.version>
|
||||||
|
<oss-starter.version>1.0.0.RELEASE</oss-starter.version>
|
||||||
|
<lombok.verison>1.18.12</lombok.verison>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
|
||||||
|
<dependencyManagement>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter</artifactId>
|
||||||
|
<version>${spring-boot.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-autoconfigure</artifactId>
|
||||||
|
<version>${spring-boot.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
||||||
|
<version>${spring-boot.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-logging</artifactId>
|
||||||
|
<version>${spring-boot.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||||||
|
<version>${spring-boot.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.alipay.sdk</groupId>
|
||||||
|
<artifactId>alipay-sdk-java</artifactId>
|
||||||
|
<version>${aliy-pay-sdk.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.projectlombok</groupId>
|
||||||
|
<artifactId>lombok</artifactId>
|
||||||
|
<version>${lombok.verison}</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</dependencyManagement>
|
||||||
|
|
||||||
|
</project>
|
||||||
Reference in New Issue
Block a user