diff --git a/auto_cache.py b/auto_cache.py index 6a46745..0c35be0 100644 --- a/auto_cache.py +++ b/auto_cache.py @@ -7,7 +7,7 @@ import urllib.request def query_all_records_by_date_with_type_flow(date: str): try: - response = urllib.request.urlopen(f'http://localhost/queryallrecordbydatewithtype/?querydate={date}&querytype=flow') + response = urllib.request.urlopen(f'http://localhost/queryallrecordsbydatewithtype/?querydate={date}&querytype=flow') html = response.read().decode('utf-8') print(html) except urllib.error.URLError as e: