Commit e1c88a8b by 赵宇

fix

parent 8e08bcc1
......@@ -997,7 +997,8 @@ class Lab(db.Model):
cate = db.Column(db.String(255)) # 创新平台分类
cateid = db.Column(db.Integer) # 创新平台分类id
# 工程技术中心1,国际科技合作基地2,企业技术中心3,双创基地4,院士工作站5,质量检测与测量中心6,重点实验室7,会议会展8
# 工程技术中心1,国际科技合作基地2,企业技术中心3,双创基地4,院士工作站5,质量检测与测量中心6,重点实验室7,
# 会议会展8研究院9,研发中心10,联合实验室11,检测中心12
name = db.Column(db.String(255)) # 机构现名
fax = db.Column(db.String(255)) # 传真
......
......@@ -261,7 +261,7 @@ def search():
try:
es = Elasticsearch([{'host': '39.100.39.50', 'port': 9200}])
data = es.search(index="jincheng_pictext_index_202202171347_0e659708", body=body)
data = es.search(index="jincheng_pictext_index_202202181510_eab2ec46", body=body)
data_list = []
print(data_list)
size = data["hits"]['total']
......
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