wangliang il y a 3 ans
Parent
commit
3dfe8b7a9f

+ 1 - 1
themis-admin/src/main/java/com/qmth/themis/admin/api/TENotifyController.java

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