This commit is contained in:
tanghc
2020-11-13 10:56:08 +08:00
parent 1203aaf246
commit e1b287240e

View File

@@ -103,7 +103,8 @@ public class SandboxV2Controller {
try { try {
sign = AlipaySignature.rsa256Sign(content, privateKey, "utf-8"); sign = AlipaySignature.rsa256Sign(content, privateKey, "utf-8");
} catch (AlipayApiException e) { } catch (AlipayApiException e) {
throw new RuntimeException("构建签名失败"); log.error("构建签名失败", e);
throw new RuntimeException("构建签名失败", e);
} }
params.put("sign", sign); params.put("sign", sign);