|
@@ -125,7 +125,7 @@ public class WxNotifyController {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- private Boolean validate(HttpServletRequest request, String bodyString) throws IOException, NoSuchAlgorithmException, InvalidKeyException, SignatureException {
|
|
|
|
|
|
+ private Boolean validate(HttpServletRequest request, String bodyString) throws NoSuchAlgorithmException, InvalidKeyException, SignatureException {
|
|
String sign = request.getHeader("Wechatpay-Signature");
|
|
String sign = request.getHeader("Wechatpay-Signature");
|
|
String timestamp = request.getHeader("Wechatpay-Timestamp");
|
|
String timestamp = request.getHeader("Wechatpay-Timestamp");
|
|
String nonce = request.getHeader("Wechatpay-Nonce");
|
|
String nonce = request.getHeader("Wechatpay-Nonce");
|