main
13009 2024-07-23 14:00:49 +08:00
parent 54374dbcb0
commit 9d8ebf9e5e
12 changed files with 41 additions and 38 deletions

18
pom.xml
View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-sdk</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
<name>scfs-api-sdk</name>
<description>scfs-api-sdk</description>
<packaging>pom</packaging>
@ -78,42 +78,42 @@
<dependency>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-core</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</dependency>
<dependency>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-rsa</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</dependency>
<dependency>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-service</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</dependency>
<dependency>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-service-cat</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</dependency>
<dependency>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-service-equity</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</dependency>
<dependency>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-service-accountant</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</dependency>
<dependency>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-sm</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</dependency>
<dependency>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-spring-boot-starter</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</dependency>
<dependency>

View File

@ -5,11 +5,11 @@
<parent>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-sdk</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</parent>
<artifactId>scfs-api-core</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
<name>scfs-api-core:核心模块</name>
<description>scfs-api-core</description>
<packaging>jar</packaging>

View File

@ -5,11 +5,11 @@
<parent>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-sdk</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</parent>
<artifactId>scfs-api-rsa</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
<name>scfs-api-rsa:RSA模块</name>
<description>封装RSA、AES国密算法</description>
@ -17,7 +17,7 @@
<dependency>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-core</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</dependency>
</dependencies>
</project>

View File

@ -7,11 +7,11 @@
<parent>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-sdk</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</parent>
<artifactId>scfs-api-service-accountant</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
<name>scfs-api-service-accountant:财务中心对外接口</name>
<description>财务中心SDK</description>
<packaging>jar</packaging>
@ -32,7 +32,7 @@
<dependency>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-core</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</dependency>
</dependencies>

View File

@ -5,11 +5,11 @@
<parent>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-sdk</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</parent>
<artifactId>scfs-api-service-cat</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
<name>scfs-api-service-cat:肥猫定制化接口</name>
<description>肥猫SDK</description>
<packaging>jar</packaging>
@ -30,7 +30,7 @@
<dependency>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-core</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</dependency>
</dependencies>
</project>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-sdk</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</parent>
<artifactId>scfs-api-service-equity</artifactId>
@ -29,7 +29,7 @@
<dependency>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-core</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</dependency>
</dependencies>

View File

@ -5,11 +5,11 @@
<parent>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-sdk</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</parent>
<artifactId>scfs-api-service</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
<name>scfs-api-service:通用类接口</name>
<description>通用类接口</description>
<packaging>jar</packaging>
@ -24,7 +24,7 @@
<dependency>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-core</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</dependency>
</dependencies>
</project>

View File

@ -5,11 +5,11 @@
<parent>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-sdk</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</parent>
<artifactId>scfs-api-sm</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
<name>scfs-api-sm:国密模块</name>
<description>封装SM2、SM4国密算法</description>
@ -17,7 +17,7 @@
<dependency>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-core</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.tencent.kona/kona-crypto -->

View File

@ -5,11 +5,11 @@
<parent>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-sdk</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</parent>
<artifactId>scfs-api-spring-boot-starter</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
<name>scfs-spring-boot-starter</name>
<description>scfs-spring-boot-starter</description>
@ -17,22 +17,22 @@
<dependency>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-core</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</dependency>
<dependency>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-service</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</dependency>
<dependency>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-rsa</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</dependency>
<dependency>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-sm</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>

View File

@ -5,11 +5,11 @@
<parent>
<groupId>com.czcb.scfs</groupId>
<artifactId>scfs-api-sdk</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
</parent>
<artifactId>scfs-api-test</artifactId>
<version>2.0.4-snapshot</version>
<version>2.0.4</version>
<name>scfs-api-test</name>
<description>scfs-api-test</description>

View File

@ -1,7 +1,7 @@
scfs.api-gateway.online=false
#scfs.api-gateway.host=http://10.133.135.94:8088/api-gateway
scfs.api-gateway.host=http://127.0.0.1:8088/api-gateway
scfs.api-gateway.channel.channel-no=1028
scfs.api-gateway.channel.channel-no=1038
scfs.api-gateway.channel.app-no=41
scfs.api-gateway.cipher.store-type=resources
#scfs.api-gateway.cipher.channel-private-key=invalid_rsa_private_key.pem
@ -14,3 +14,4 @@ scfs.api-gateway.cipher.store-type=resources
scfs.api-gateway.cipher.channel-private-key=CZCB-SM-FB4E3DCE0297438ED390771F46576B92FD7E6B7F1E9BD12A7D87E821B59948E5-PRIVATE.pem
scfs.api-gateway.cipher.channel-certificate-serial=FB4E3DCE0297438ED390771F46576B92FD7E6B7F1E9BD12A7D87E821B59948E5
scfs.api-gateway.cipher.certificate=CZCB-SM-FB4E3DCE0297438ED390771F46576B92FD7E6B7F1E9BD12A7D87E821B59948E5-CERTIFICATE.pem
scfs.api-gateway.httpclient.headers.X-SCFS-Feature-Env=test

View File

@ -75,6 +75,8 @@ class InvoiceServiceTest {
InvoiceQueryRequest request = new InvoiceQueryRequest();
request.setChannelNo("0000");
request.setAppNo("1000");
request.setCurrentPage(0L);
request.setCurrentRows(50L);
request.setSerialNo(Nonce.ofNonce());
request.setTransDate(DateTimes.ofNowDate());
request.setTransTradeTime(DateTimes.ofNow());