This commit is contained in:
parent
22d415b509
commit
aedf2cd2a7
|
@ -73,6 +73,7 @@ func ImportStreamerIntoEs() {
|
|||
}
|
||||
|
||||
streameraccts := make([]*dbstruct.EsStreamerAcct, 0)
|
||||
fmt.Printf("price: [")
|
||||
for _, streamer := range streamers {
|
||||
zone, ok := zoneMp[streamer.GetMid()]
|
||||
lastZoneMomentCreateDay := int64(0)
|
||||
|
@ -82,6 +83,7 @@ func ImportStreamerIntoEs() {
|
|||
zoneVas, ok1 := zoneVasMp[zone.GetId()]
|
||||
if ok1 {
|
||||
zoneadmissionprice = zoneVas.AdmissionPrice
|
||||
fmt.Printf("%v ", zoneadmissionprice)
|
||||
}
|
||||
}
|
||||
name := ""
|
||||
|
@ -116,6 +118,7 @@ func ImportStreamerIntoEs() {
|
|||
DelFlag: 0,
|
||||
})
|
||||
}
|
||||
fmt.Printf("]")
|
||||
err = escli.CreateStreamerAcct(ctx, streameraccts)
|
||||
if err != nil {
|
||||
fmt.Printf("CreateStreamerAcct : %v", err)
|
||||
|
|
Loading…
Reference in New Issue