master
dustoair 3 years ago
parent 1dce492f30
commit 88e62d5978

@ -29,7 +29,7 @@ func handleMessage(w http.ResponseWriter, r *http.Request) {
return
} else {
log.Println("消息验证成功:", msgContent)
go RecordWechatLog(msgContent.FromUsername, msgContent.ToUsername, msgContent.CreateTime, msgContent.MsgType, msgContent.Content)
go RecordWechatLog(msgContent.ToUsername, msgContent.FromUsername, msgContent.CreateTime, msgContent.MsgType, msgContent.Content)
if global.EnableReply {
Reply(msgContent, timestamp, nonce, w)
} else {

Loading…
Cancel
Save