This commit is contained in:
DingZQ
2025-03-22 08:38:11 +08:00
parent 790db21a8e
commit bf8f7d08e1

View File

@@ -9,11 +9,11 @@ def query_all_records_by_date_with_type(date: str):
try:
response = urllib.request.urlopen(f'http://localhost/queryallrecordsbydatewithtype/?querydate={date}&querytype=node')
html = response.read().decode('utf-8')
print(html)
#print(html)
response = urllib.request.urlopen(f'http://localhost/queryallrecordsbydatewithtype/?querydate={date}&querytype=link')
html = response.read().decode('utf-8')
print(html)
#print(html)
except urllib.error.URLError as e:
print("Error")
@@ -21,11 +21,11 @@ def queryallrecordsbydateproperty(date: str):
try:
response = urllib.request.urlopen(f'http://localhost/queryallrecordsbydateproperty/?querydate={date}&querytype=node&property=head')
html = response.read().decode('utf-8')
print(html)
#print(html)
response = urllib.request.urlopen(f'http://localhost/queryallrecordsbydateproperty/?querydate={date}&querytype=link&property=flow')
html = response.read().decode('utf-8')
print(html)
#print(html)
except urllib.error.URLError as e:
print("Error")
@@ -34,7 +34,7 @@ def queryallscadarecordsbydate(date: str):
try:
response = urllib.request.urlopen(f'http://localhost/queryallscadarecordsbydate/?querydate={date}')
html = response.read().decode('utf-8')
print(html)
#print(html)
except urllib.error.URLError as e:
print("Error")
@@ -42,7 +42,7 @@ def queryallschemeallrecords(date: str):
try:
response = urllib.request.urlopen(f'http://localhost/queryallschemeallrecords/?schemetype=burst_Analysis&schemename=testSchema&querydate={date}')
html = response.read().decode('utf-8')
print(html)
#print(html)
except urllib.error.URLError as e:
print("Error")