diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..de5d48e Binary files /dev/null and b/.DS_Store differ diff --git a/model/plant/response/callback.go b/model/plant/response/callback.go new file mode 100644 index 0000000..e089677 --- /dev/null +++ b/model/plant/response/callback.go @@ -0,0 +1,23 @@ +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"` +} diff --git a/sundynix-plant b/sundynix-plant new file mode 100755 index 0000000..60cefcc Binary files /dev/null and b/sundynix-plant differ