微信新转账逻辑

This commit is contained in:
egzosn
2026-05-08 15:44:17 +08:00
parent 0791bbd9b7
commit 9b184d93df
5 changed files with 21 additions and 11 deletions

View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>pay-java-parent</artifactId>
<groupId>com.egzosn</groupId>
<version>${revision}</version>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
@@ -41,6 +41,7 @@
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<optional>true</optional>
</dependency>
</dependencies>

View File

@@ -65,7 +65,7 @@ public enum CertStoreType implements CertStore {
*/
@Override
public InputStream getInputStream(Object cert) throws IOException {
return Thread.currentThread().getContextClassLoader().getResourceAsStream((String) cert);
return this.getClass().getResourceAsStream((String) cert);
}
},
/**