This commit is contained in:
shoopea 2020-02-03 14:24:21 +08:00
parent e3e136e660
commit ddfc1faf00

1
sql.go
View File

@ -658,6 +658,7 @@ func insertMsgTributesStats(m *ChatWarsMessageTributesStatsAck) error {
defer stmt.Close()
for _, t := range m.Tributes {
log.Printf("insertMsgTributesStats : #%d / #%d : %d + %d (%v)\n", m.Msg.TGUserID64, t.ItemID64, t.Quantity, t.Exp, t.Date)
_, err = stmt.Exec(m.Msg.TGUserID64, t.ItemID64, t.Quantity, t.Exp, t.Date)
logOnError(err, "insertMsgTributesStats Exec")
}