This commit is contained in:
egzosn
2021-10-18 21:11:11 +08:00
parent 6e75b72428
commit d264723d4c
13 changed files with 37 additions and 50 deletions

View File

@@ -8,9 +8,10 @@
4. 简单快速完成支付模块的开发
5. 支持多种支付类型多支付账户扩展
### 本项目包含 3 个部分:
### 本项目包含 4 个部分:
1. pay-java-common 公共lib,支付核心与规范定义
2. pay-java-web-support web支持包目前已实现回调相关
2. pay-java-demo 具体的支付demo
3. pay-java-* 具体的支付实现库
@@ -21,7 +22,7 @@
<dependency>
<groupId>com.egzosn</groupId>
<artifactId>{module-name}</artifactId>
<version>2.14.3</version>
<version>2.14.3-b</version>
</dependency>
```

View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>pay-java-parent</artifactId>
<groupId>com.egzosn</groupId>
<version>2.14.3</version>
<version>2.14.3-b</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>pay-java-baidu</artifactId>
@@ -17,11 +17,7 @@
<artifactId>pay-java-common</artifactId>
</dependency>
<!-- /pay-java -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

View File

@@ -1,7 +1,5 @@
package com.egzosn.pay.baidu.api;
import org.junit.jupiter.api.Test;
/**
* Created by hocgin on 2019/11/24.
* email: hocgin@gmail.com
@@ -9,16 +7,16 @@ import org.junit.jupiter.api.Test;
* @author hocgin
*/
public class BaiduPayServiceTest {
@Test
public void orderInfo() {
public static void main(String[] args) {
BaiduPayConfigStorage configStorage = new BaiduPayConfigStorage();
configStorage.setAppid("APP ID");
configStorage.setAppKey("APP KEY");
configStorage.setDealId("DEAL ID");
configStorage.setKeyPublic("KEY PUBLIC");
BaiduPayService payService = new BaiduPayService(configStorage);
// payService.refund()
}
}

View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>pay-java-parent</artifactId>
<groupId>com.egzosn</groupId>
<version>2.14.3</version>
<version>2.14.3-b</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>

View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>pay-java-parent</artifactId>
<groupId>com.egzosn</groupId>
<version>2.14.3</version>
<version>2.14.3-b</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>war</packaging>
@@ -16,9 +16,9 @@
<spring.version>4.3.4.RELEASE</spring.version>
<junit.version>4.10</junit.version>
<hibernate.version>4.3.6.Final</hibernate.version>
<servlet-api.version>4.0.1</servlet-api.version>
</properties>
<dependencies>
<!--支付-->
<dependency>
@@ -31,11 +31,7 @@
<artifactId>pay-java-wx</artifactId>
<version>${pay.version}</version>
</dependency>
<dependency>
<groupId>com.egzosn</groupId>
<artifactId>pay-java-web-support</artifactId>
<version>${pay.version}</version>
</dependency>
<dependency>
<groupId>com.egzosn</groupId>
<artifactId>pay-java-ali</artifactId>
@@ -63,20 +59,10 @@
<version>${pay.version}</version>
</dependency>
<!--/支付-->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
<version>3.1.0</version>
<groupId>com.egzosn</groupId>
<artifactId>pay-java-web-support</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>
<!-- spring -->
<dependency>
<groupId>org.springframework</groupId>
@@ -87,7 +73,12 @@
</dependency>
<!-- /spring -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
<version>${servlet-api.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>

View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>pay-java-parent</artifactId>
<groupId>com.egzosn</groupId>
<version>2.14.3</version>
<version>2.14.3-b</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>pay-java-fuiou</artifactId>

View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>pay-java-parent</artifactId>
<groupId>com.egzosn</groupId>
<version>2.14.3</version>
<version>2.14.3-b</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>pay-java-payoneer</artifactId>

View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>pay-java-parent</artifactId>
<groupId>com.egzosn</groupId>
<version>2.14.3</version>
<version>2.14.3-b</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>pay-java-parent</artifactId>
<groupId>com.egzosn</groupId>
<version>2.14.3</version>
<version>2.14.3-b</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>pay-java-parent</artifactId>
<groupId>com.egzosn</groupId>
<version>2.14.3</version>
<version>2.14.3-b</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>pay-java-wx-youdian</artifactId>

View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>pay-java-parent</artifactId>
<groupId>com.egzosn</groupId>
<version>2.14.3</version>
<version>2.14.3-b</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>pay-java-wx</artifactId>

View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>pay-java-parent</artifactId>
<groupId>com.egzosn</groupId>
<version>2.14.3</version>
<version>2.14.3-b</version>
</parent>
<modelVersion>4.0.0</modelVersion>

15
pom.xml
View File

@@ -7,7 +7,7 @@
<groupId>com.egzosn</groupId>
<artifactId>pay-java-parent</artifactId>
<packaging>pom</packaging>
<version>2.14.3</version>
<version>2.14.3-b</version>
<name>Pay Java - Parent</name>
<description>Pay Java Parent</description>
@@ -70,12 +70,12 @@
<properties>
<pay.version>2.14.3</pay.version>
<pay.version>2.14.3-b</pay.version>
<httpmime.version>4.5.4</httpmime.version>
<log4j.version>1.2.17</log4j.version>
<fastjson.version>1.2.73</fastjson.version>
<zxing.version>3.3.1</zxing.version>
<junit.version>5.5.1</junit.version>
<servlet-api.version>4.0.1</servlet-api.version>
</properties>
@@ -107,7 +107,6 @@
</dependency>
<!-- log4j -->
<dependency>
<groupId>org.slf4j</groupId>
@@ -122,10 +121,12 @@
<artifactId>core</artifactId>
<version>${zxing.version}</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit.version}</version>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
<version>${servlet-api.version}</version>
</dependency>
</dependencies>