|
@@ -14,7 +14,7 @@ def get_equip_list(d_id, isfullId=0):
|
|
|
"""
|
|
"""
|
|
|
if isfullId == 1:
|
|
if isfullId == 1:
|
|
|
try:
|
|
try:
|
|
|
- bigdata_res = requests.post("http://8.136.98.49:8002/search/equip", data={"device_id": d_id, "isfullId": "1"},timeout=10)
|
|
|
|
|
|
|
+ bigdata_res = requests.post("http://127.0.0.1:8002/search/equip", data={"device_id": d_id, "isfullId": "1"},timeout=10)
|
|
|
bigdata_dict = json.loads(bigdata_res.content.decode())
|
|
bigdata_dict = json.loads(bigdata_res.content.decode())
|
|
|
except:
|
|
except:
|
|
|
bigdata_dict = {}
|
|
bigdata_dict = {}
|
|
@@ -25,7 +25,7 @@ def get_equip_list(d_id, isfullId=0):
|
|
|
siqing_dict = {}
|
|
siqing_dict = {}
|
|
|
else:
|
|
else:
|
|
|
try:
|
|
try:
|
|
|
- bigdata_res = requests.post("http://8.136.98.49:8002/search/equip", data={"device_id": d_id}, timeout=10)
|
|
|
|
|
|
|
+ bigdata_res = requests.post("http://127.0.0.1:8002/search/equip", data={"device_id": d_id}, timeout=10)
|
|
|
bigdata_dict = json.loads(bigdata_res.content.decode())
|
|
bigdata_dict = json.loads(bigdata_res.content.decode())
|
|
|
except:
|
|
except:
|
|
|
bigdata_dict = {}
|
|
bigdata_dict = {}
|