转string
This commit is contained in:
parent
15b8284462
commit
5358359316
@ -4,6 +4,7 @@ import (
|
||||
"go_dreamfactory/comm"
|
||||
"go_dreamfactory/pb"
|
||||
"go_dreamfactory/utils"
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"google.golang.org/protobuf/proto"
|
||||
@ -31,7 +32,7 @@ func (this *apiComp) GetList(session comm.IUserSession, req *pb.VikingGetListReq
|
||||
_cfg := this.module.configure.GetVikingBossTypeConfigData()
|
||||
for k := range _cfg {
|
||||
list.Boss[k] = 0
|
||||
str := string(k) + "_0"
|
||||
str := strconv.Itoa(int(k)) + "_0"
|
||||
list.BossTime[str] = 0
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user