回调接口配置
continuous-integration/drone/push Build is passing Details

于相涌/mail
YXY 1 year ago
parent c548168d20
commit c9403190df

@ -30,7 +30,7 @@ public class LarkCallBackFactory {
String eventType = null;
if (jsonObject.containsKey("header")){
eventType = jsonObject.getJSONObject("header").getString("event_type");
}else{
}else if(jsonObject.containsKey("event")){
eventType = jsonObject.getJSONObject("event").getString("type");
}
CallBackTypeEnum callBackTypeEnum = CallBackTypeEnum.getByCode(eventType);

Loading…
Cancel
Save