xhxu 3 лет назад
Родитель
Сommit
d3375786e5
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/pay/WxPayV3.java

+ 1
- 1
mallinkService/src/main/java/com/iformall/pay/WxPayV3.java Просмотреть файл

@@ -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);
} }
/** /**


Загрузка…
Отмена
Сохранить