|
@@ -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))
|
|
|
}
|