diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..abe61a7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env.prod \ No newline at end of file diff --git a/src/plugins/weather.py b/src/plugins/weather.py index 1b3f76e..9dcbc9c 100644 --- a/src/plugins/weather.py +++ b/src/plugins/weather.py @@ -13,7 +13,6 @@ async def handle_function(): - def get_weather(city_name): # 设置请求的URL和参数 url = f'https://apis.juhe.cn/simpleWeather/query?key=50a3bd415158e186903d6e6994157589&city={city_name}'