This commit is contained in:
shoopea 2019-05-09 17:23:13 +08:00
parent 161abd6d0b
commit f28a188d22
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
package main
import (
"errors"
"log"
"regexp"
"strconv"

View File

@ -103,7 +103,7 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
cwm := ChatWarsMessageAuctionAnnounce{
MsgID64: objId,
}
cwm.Lot, _ = strconv.Atoi(r.ReplaceAllString(m.Text, "${Lot}"))
cwm.LotID, _ = strconv.Atoi(r.ReplaceAllString(m.Text, "${Lot}"))
cwm.Cond = r.ReplaceAllString(m.Text, "${Cond}")
cwm.Quality = r.ReplaceAllString(m.Text, "${Quality}")
cwm.Seller = r.ReplaceAllString(m.Text, "${Seller}")