This commit is contained in:
laodaming 2023-11-06 18:29:11 +08:00
parent 03af6aa70e
commit b1cd37497c
2 changed files with 6 additions and 6 deletions

View File

@ -6,9 +6,9 @@ import (
)
type WebhookReq struct {
Schema string `json:"schema"`
Header map[string]interface{} `json:"header"`
Event map[string]interface{} `json:"event"`
Schema string `json:"schema,optional"`
Header map[string]interface{} `json:"header,optional"`
Event map[string]interface{} `json:"event,optional"`
Challenge string `json:"challenge,optional"` //设置飞书通知接口验证用
Type string `json:"type,optional"` //设置飞书通知接口验证用
}

View File

@ -16,9 +16,9 @@ service feishu-sync {
}
type WebhookReq {
Schema string `json:"schema"`
Header map[string]interface{} `json:"header"`
Event map[string]interface{} `json:"event"`
Schema string `json:"schema,optional"`
Header map[string]interface{} `json:"header,optional"`
Event map[string]interface{} `json:"event,optional"`
Challenge string `json:"challenge,optional"` //设置飞书通知接口验证用
Type string `json:"type,optional"` //设置飞书通知接口验证用
}