|
|
|
|
@ -10,6 +10,6 @@ import (
|
|
|
|
|
func replyImage(msgContent MsgContent, timestamp, nonce string, w http.ResponseWriter) {
|
|
|
|
|
//third_part.SendPicMid(msgContent.FromUsername, utils.RandMapValue(global.ImageMap))
|
|
|
|
|
filename := global.WechatImagePath + "/" + utils.RandomFile(global.WechatImagePath)
|
|
|
|
|
go RecordWechatLog(msgContent.ToUsername, msgContent.FromUsername, msgContent.CreateTime, msgContent.MsgType, filename)
|
|
|
|
|
go RecordWechatLog(msgContent.FromUsername, msgContent.ToUsername, msgContent.CreateTime, msgContent.MsgType, filename)
|
|
|
|
|
third_part.SendPicFile(msgContent.FromUsername, filename)
|
|
|
|
|
}
|
|
|
|
|
|