Przeglądaj źródła

update tt

master
xhxu 3 lat temu
rodzic
commit
4026234eaa
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      mlToutiaoOpen/src/main/java/com/iformall/controller/TtCalllbackController.java

+ 1
- 1
mlToutiaoOpen/src/main/java/com/iformall/controller/TtCalllbackController.java Wyświetl plik

@@ -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加密的消息, 解密


Ładowanie…
Anuluj
Zapisz