test
This commit is contained in:
parent
29287f7c02
commit
d9ec6a4c52
26
workers.go
26
workers.go
@ -172,6 +172,32 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
|
|||||||
rep = cwm.Report[r.ReplaceAllString(m.Text, "$(Score1)")]
|
rep = cwm.Report[r.ReplaceAllString(m.Text, "$(Score1)")]
|
||||||
p, _ := strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points1)"))
|
p, _ := strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points1)"))
|
||||||
rep.Points = int32(p)
|
rep.Points = int32(p)
|
||||||
|
cwm.Report[r.ReplaceAllString(m.Text, "${Score1}")] = rep
|
||||||
|
rep = cwm.Report[r.ReplaceAllString(m.Text, "$(Score2)")]
|
||||||
|
p, _ := strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points2)"))
|
||||||
|
rep.Points = int32(p)
|
||||||
|
cwm.Report[r.ReplaceAllString(m.Text, "${Score2}")] = rep
|
||||||
|
rep = cwm.Report[r.ReplaceAllString(m.Text, "$(Score3)")]
|
||||||
|
p, _ := strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points3)"))
|
||||||
|
rep.Points = int32(p)
|
||||||
|
cwm.Report[r.ReplaceAllString(m.Text, "${Score3}")] = rep
|
||||||
|
rep = cwm.Report[r.ReplaceAllString(m.Text, "$(Score4)")]
|
||||||
|
p, _ := strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points4)"))
|
||||||
|
rep.Points = int32(p)
|
||||||
|
cwm.Report[r.ReplaceAllString(m.Text, "${Score4}")] = rep
|
||||||
|
rep = cwm.Report[r.ReplaceAllString(m.Text, "$(Score5)")]
|
||||||
|
p, _ := strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points5)"))
|
||||||
|
rep.Points = int32(p)
|
||||||
|
cwm.Report[r.ReplaceAllString(m.Text, "${Score5}")] = rep
|
||||||
|
rep = cwm.Report[r.ReplaceAllString(m.Text, "$(Score6)")]
|
||||||
|
p, _ := strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points6)"))
|
||||||
|
rep.Points = int32(p)
|
||||||
|
cwm.Report[r.ReplaceAllString(m.Text, "${Score6}")] = rep
|
||||||
|
rep = cwm.Report[r.ReplaceAllString(m.Text, "$(Score7)")]
|
||||||
|
p, _ := strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points7)"))
|
||||||
|
rep.Points = int32(p)
|
||||||
|
cwm.Report[r.ReplaceAllString(m.Text, "${Score7}")] = rep
|
||||||
|
|
||||||
b, err := json.Marshal(cwm)
|
b, err := json.Marshal(cwm)
|
||||||
/*
|
/*
|
||||||
if len(r.ReplaceAllString(m.Text, "${Loot1}")) < 6 || len(r.ReplaceAllString(m.Text, "${Loot1}")) > 11 {
|
if len(r.ReplaceAllString(m.Text, "${Loot1}")) < 6 || len(r.ReplaceAllString(m.Text, "${Loot1}")) > 11 {
|
||||||
|
Loading…
Reference in New Issue
Block a user