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