md
This commit is contained in:
parent
01fa30f0da
commit
75dfc912f4
@ -98,7 +98,7 @@ public class MchApi extends BaseApi {
|
|||||||
File certificate = new File(
|
File certificate = new File(
|
||||||
Weixin4jConfigUtil.replaceClassPathValue(weixinAccount.getCertificateFile()));
|
Weixin4jConfigUtil.replaceClassPathValue(weixinAccount.getCertificateFile()));
|
||||||
if (!certificate.exists() || !certificate.isFile()) {
|
if (!certificate.exists() || !certificate.isFile()) {
|
||||||
is = Weixin4jConfigUtil.CLASSLOADER.getResourceAsStream(weixinAccount.getCertificateFile());
|
is = Weixin4jConfigUtil.CLASSLOADER.getResourceAsStream(certificate.getName());
|
||||||
} else {
|
} else {
|
||||||
is = new FileInputStream(certificate);
|
is = new FileInputStream(certificate);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user