From 4f93acedb27c095352b26cd4375c9cb0fb87daef Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 11 May 2019 19:25:35 +0800 Subject: [PATCH] test --- workers.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/workers.go b/workers.go index 43910c8..19c4b83 100644 --- a/workers.go +++ b/workers.go @@ -109,8 +109,8 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) { rep := ChatWarsMessageMiniWarCastle{ Gardian: r.ReplaceAllString(m.Text, "${Gardian1}"), Result: r.ReplaceAllString(m.Text, "${Result1}"), - Gold: g, - Stock: s, + Gold: int32(g), + Stock: int32(s), } cwm.Report[r.ReplaceAllString(m.Text, "${Loot1}")] = rep g, err = strconv.Atoi(r.ReplaceAllString(m.Text, "${Gold2}")) @@ -118,8 +118,8 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) { rep = ChatWarsMessageMiniWarCastle{ Gardian: r.ReplaceAllString(m.Text, "${Gardian2}"), Result: r.ReplaceAllString(m.Text, "${Result2}"), - Gold: g, - Stock: s, + Gold: int32(g), + Stock: int32(s), } cwm.Report[r.ReplaceAllString(m.Text, "${Loot2}")] = rep /*