소스 검색

优选数据删除bidding_temp

wcc 1 주 전
부모
커밋
0ca2582f1f
2개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. BIN
      createEsIndex/createindex
  2. 1 0
      createEsIndex/main.go

BIN
createEsIndex/createindex


+ 1 - 0
createEsIndex/main.go

@@ -486,6 +486,7 @@ func SaveEsMethod() {
 				delete(v, "old_preferid")
 				if oid != "" {
 					err := Es2.DeleteByID(config.Conf.DB.Es.IndexB, oid)
+					err = Es2.DeleteByID(config.Conf.DB.Es.IndexTmp, oid)
 					if err != nil {
 						log.Info("SaveEsMethod", zap.String("上次优选ID删除失败", oid))
 					}