package handle import ( "WechatGateWay/third_part" "fmt" "net/http" ) func replyImage(msgContent MsgContent, timestamp, nonce string, w http.ResponseWriter) { fmt.Println(msgContent.ToUsername) fmt.Println(msgContent.FromUsername) fmt.Println(msgContent.CreateTime) fmt.Println(msgContent.MsgType) fmt.Println(msgContent.Content) fmt.Println(msgContent.Msgid) fmt.Println(msgContent.Agentid) third_part.SendPicFile(msgContent.FromUsername, "/app/data/ygg.jpg") }