|
|
@@ -67,6 +67,10 @@ public class BusinessCircleServiceImpl implements BusinessCircleService { |
|
|
|
String nonce = resource.getNonce(); |
|
|
|
String apiV3Key = this.payService.getConfig().getApiV3Key(); |
|
|
|
try { |
|
|
|
System.out.println("cipherText="+cipherText); |
|
|
|
System.out.println("associatedData="+associatedData); |
|
|
|
System.out.println("nonce="+nonce); |
|
|
|
System.out.println("apiV3Key="+apiV3Key); |
|
|
|
return GSON.fromJson(AesUtils.decryptToString(associatedData, nonce, cipherText, apiV3Key), PaidResult.class); |
|
|
|
} catch (GeneralSecurityException | IOException e) { |
|
|
|
throw new WxPayException("解析报文异常!", e); |
|
|
|