|
@@ -63,8 +63,7 @@ public class TENotifyController {
|
|
|
Long t = Long.parseLong(String.valueOf(jsonObject.get("t")));
|
|
|
Optional.ofNullable(t).orElseThrow(() -> new BusinessException("腾讯云回调时间为空"));
|
|
|
|
|
|
- String localSign = MD5Util.encoder(callbackPwd + String.valueOf(t));
|
|
|
- if (!MD5Util.verify(sign, localSign)) {
|
|
|
+ if (!MD5Util.verify(callbackPwd + String.valueOf(t), sign)) {
|
|
|
throw new BusinessException("腾讯云签名不匹配");
|
|
|
}
|
|
|
|