Merge pull request 'by Robin at 20240613' (#530) from feat-IRONFANS-147-Robin into test
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/530
This commit is contained in:
commit
7e7e21a3aa
|
@ -60,6 +60,7 @@ func (es *ElasticSearch) CreateStreamerAcct(ctx *gin.Context, streameraccts []*d
|
|||
func (es *ElasticSearch) UpdateStreamerAcct(ctx *gin.Context, streameracct *dbstruct.EsStreamerAcct) error {
|
||||
_, err := es.clientMix.Update().Index(es.getIndexStreamerAcct()).Id(fmt.Sprint(streameracct.Mid)).Doc(map[string]any{
|
||||
"name": streameracct.Name,
|
||||
"pinyin": streameracct.PinYin,
|
||||
"ut": streameracct.Ut,
|
||||
}).Do(ctx)
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue