This commit is contained in:
Leufolium 2024-09-04 00:58:36 +08:00
parent 6d8a0c3b3a
commit c5924a117d
1 changed files with 4 additions and 4 deletions

View File

@ -52,12 +52,10 @@ func ImportZoneMemberInfo() {
}
zids := make([]int64, 0)
fmt.Printf("zid: [")
for _, zone := range zones {
zids = append(zids, zone.GetId())
fmt.Printf("%v ", zone.GetId())
}
fmt.Printf("]")
zmlist, err := mysqlcli.GetZoneMemberCountGroupByZid(ctx, nil, zids)
if err != nil {
@ -69,7 +67,9 @@ func ImportZoneMemberInfo() {
zmMp[zm.GetZid()] = zm
}
fmt.Printf("user_id\t昵称\t手机号\t空间动态数\t空间人数")
mycrypto.CryptoServiceInstance().Init()
fmt.Printf("user_id\t昵称\t手机号\t空间动态数\t空间人数\n")
for _, streamer := range streamers {
@ -98,7 +98,7 @@ func ImportZoneMemberInfo() {
}
}
fmt.Printf("%d\t%s\t%s\t%d\t%d", userId, name, mobilephone, zmmtcount, zmbcount)
fmt.Printf("%d\t%s\t%s\t%d\t%d\n", userId, name, mobilephone, zmmtcount, zmbcount)
}
fmt.Println("End importing...")