Commit e2c40e75 by dong

fix

parent 5880175d
......@@ -543,7 +543,7 @@ def recommond():
}
}
es = Elasticsearch([{'host': '39.100.39.50', 'port': 9200}])
data = es.search(index="mancheng_enterperise", body=body)
data = es.search(index="mancheng_enterperise1", body=body)
size = data["hits"]['total']
ent_data = []
for com in data["hits"]['hits']:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment