fix
This commit is contained in:
parent
fd86cccdf2
commit
8c175ad9cc
@ -6,12 +6,12 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type TicketWebhookReq struct {
|
type TicketWebhookReq struct {
|
||||||
Ts string `json:"ts"` //webhook时间
|
Ts string `json:"ts,optional"` //webhook时间
|
||||||
Uuid string `json:"uuid"` //事件唯一标识
|
Uuid string `json:"uuid,optional"` //事件唯一标识
|
||||||
Token string `json:"token"` //即Verification Token
|
Token string `json:"token,optional"` //即Verification Token
|
||||||
Event Event `json:"event"` //事件
|
Event Event `json:"event,optional"` //事件
|
||||||
Challenge string `json:"challenge"` //设置飞书通知接口验证用
|
Challenge string `json:"challenge,optional"` //设置飞书通知接口验证用
|
||||||
Type string `json:"type"` //设置飞书通知接口验证用
|
Type string `json:"type,optional"` //设置飞书通知接口验证用
|
||||||
}
|
}
|
||||||
|
|
||||||
type Event struct {
|
type Event struct {
|
||||||
|
@ -16,12 +16,12 @@ service feishu-sync {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type TicketWebhookReq {
|
type TicketWebhookReq {
|
||||||
Ts string `json:"ts"` //webhook时间
|
Ts string `json:"ts,optional"` //webhook时间
|
||||||
Uuid string `json:"uuid"` //事件唯一标识
|
Uuid string `json:"uuid,optional"` //事件唯一标识
|
||||||
Token string `json:"token"` //即Verification Token
|
Token string `json:"token,optional"` //即Verification Token
|
||||||
Event Event `json:"event"` //事件
|
Event Event `json:"event,optional"` //事件
|
||||||
Challenge string `json:"challenge"` //设置飞书通知接口验证用
|
Challenge string `json:"challenge,optional"` //设置飞书通知接口验证用
|
||||||
Type string `json:"type"` //设置飞书通知接口验证用
|
Type string `json:"type,optional"` //设置飞书通知接口验证用
|
||||||
}
|
}
|
||||||
|
|
||||||
type Event {
|
type Event {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user