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

@@ -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()
}
}