Refine
This commit is contained in:
@@ -7,7 +7,7 @@ import urllib.request
|
|||||||
|
|
||||||
def query_all_records_by_date_with_type_flow(date: str):
|
def query_all_records_by_date_with_type_flow(date: str):
|
||||||
try:
|
try:
|
||||||
response = urllib.request.urlopen('localhost/queryallrecordbydatewithtype/?querydate={date}&querytype=flow')
|
response = urllib.request.urlopen(f'localhost/queryallrecordbydatewithtype/?querydate={date}&querytype=flow')
|
||||||
html = response.read().decode('utf-8')
|
html = response.read().decode('utf-8')
|
||||||
print(html)
|
print(html)
|
||||||
except urllib.error.URLError as e:
|
except urllib.error.URLError as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user