|
|
@@ -97,7 +97,7 @@ public class WxPayV3 { |
|
|
//解密平台加密信息 |
|
|
//解密平台加密信息 |
|
|
public static String decrypt(WxPayService payService,String entryText,String nonce,String associatedData) throws GeneralSecurityException, IOException { |
|
|
public static String decrypt(WxPayService payService,String entryText,String nonce,String associatedData) throws GeneralSecurityException, IOException { |
|
|
String apiV3Key = payService.getConfig().getApiV3Key(); |
|
|
String apiV3Key = payService.getConfig().getApiV3Key(); |
|
|
return JSON.toJSONString(AesUtils.decryptToString(associatedData, nonce, entryText, apiV3Key)); |
|
|
|
|
|
|
|
|
return AesUtils.decryptToString(associatedData, nonce, entryText, apiV3Key); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
|