Files
sundynix-plant-be/model/plant/response/callback.go
T
2026-02-25 14:06:18 +08:00

24 lines
732 B
Go

package response
// WeChatCheckResultCallback 微信内容安全回调数据结构
type WeChatCheckResultCallback struct {
ToUserName string `json:"ToUserName"`
FromUserName string `json:"FromUserName"`
CreateTime int64 `json:"CreateTime"`
MsgType string `json:"MsgType"`
Event string `json:"Event"`
AppId string `json:"appid"`
TraceId string `json:"trace_id"`
Result struct {
Suggest string `json:"suggest"` // pass, risky
Label int `json:"label"`
} `json:"result"`
Detail []struct {
Strategy string `json:"strategy"`
Errcode int `json:"errcode"`
Suggest string `json:"suggest"`
Label int `json:"label"`
Prob int `json:"prob"`
} `json:"detail"`
}