丽知:钉钉回调空指针修改

This commit is contained in:
zhengyf 2024-11-22 09:30:16 +08:00
parent f327c4181f
commit 014afb4200
1 changed files with 19 additions and 17 deletions

View File

@ -106,6 +106,7 @@ public class CallBackServiceImpl implements CallBackService {
String eventType = eventJson.getString("EventType");
//防止钉钉回调
if(eventJson.getString("processInstanceId")!=null) {
if (!eventJson.getString("processInstanceId").equals(dingId)) {
dingId = eventJson.getString("processInstanceId");
@ -127,6 +128,7 @@ public class CallBackServiceImpl implements CallBackService {
}
}
}
}
// 5. 返回success的加密数据
Map<String, String> successMap = callbackCrypto.getEncryptedMap("success");