feat-IRONFANS-134-Robin #499

Merged
chenhao merged 2 commits from feat-IRONFANS-134-Robin into test 2024-05-24 22:43:54 +08:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit 0d6a991101 - Show all commits

View File

@ -53,7 +53,9 @@ func (es *ElasticSearch) CreateStreamerAcct(ctx *gin.Context, streameraccts []*d
for _, streameracct := range streameraccts {
bulk.Add(elastic.NewBulkCreateRequest().Doc(streameracct))
}
_, err := bulk.Do(ctx)
logger.Info("bulk: %v", bulk)
rsp, err := bulk.Do(ctx)
logger.Info("rsp: %v", rsp)
return err
}