增加飞书webhook监听处理
This commit is contained in:
parent
e101afccc6
commit
1c3db93ffd
|
@ -100,7 +100,7 @@ func (l *WebhookLogic) Webhook(w http.ResponseWriter, r *http.Request) {
|
|||
logx.Error("反序列化请求体中的header失败", err)
|
||||
return
|
||||
}
|
||||
logx.Info("触发webhook:", msgHeader.EventType)
|
||||
logx.Info("触发webhook:", msgHeader.EventType, "数据:", webhookMsg)
|
||||
switch msgHeader.EventType {
|
||||
case "contact.custom_attr_event.updated_v3": //成员字段管理属性变更事件
|
||||
case "contact.department.created_v3": //部门新建
|
||||
|
|
Loading…
Reference in New Issue
Block a user