Browse Source

update tt

master
xhxu 3 years ago
parent
commit
4026234eaa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mlToutiaoOpen/src/main/java/com/iformall/controller/TtCalllbackController.java

+ 1
- 1
mlToutiaoOpen/src/main/java/com/iformall/controller/TtCalllbackController.java View File

@@ -69,7 +69,7 @@ public class TtCalllbackController extends BaseController {
String encrypt = request.getParameter("Encrypt");
String msgSignature = request.getParameter("MsgSignature");

if (!openService.getTtOpenComponentService().checkSignature(timestamp, nonce, encrypt, msgSignature)) {
if (openService.getTtOpenComponentService().checkSignature(timestamp, nonce, encrypt, msgSignature)) {
throw new IllegalArgumentException("非法请求,可能属于伪造的请求!");
}
// aes加密的消息, 解密


Loading…
Cancel
Save