package task import "log-server/utils" type Common struct { } type SendMsg struct { MsgType string `json:"msgtype"` Markdown struct { Content string `json:"content"` } `json:"markdown"` } func (s *Common) SendMsgData(url string, params interface{}) { _, _ = utils.HttpPost(url, params) return }