Browse Source

fix es update ecpm

master
shenjiachi 1 week ago
parent
commit
2c3184ed52
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      consume/egg_energy_deal_user_ecpm.go

+ 1
- 1
consume/egg_energy_deal_user_ecpm.go View File

@@ -71,7 +71,7 @@ func handleEggEnergyDealUserECPMConsume(msgData []byte) error {


updateMap := make(map[string]interface{}) updateMap := make(map[string]interface{})
updateMap["ecpm"] = utils2.StrToFloat64(msg.Ecpm) updateMap["ecpm"] = utils2.StrToFloat64(msg.Ecpm)
updateDocRet, err := es.UpdateDoc(index, id, m)
updateDocRet, err := es.UpdateDoc(index, id, updateMap)
if err != nil { if err != nil {
return err return err
} }


Loading…
Cancel
Save