天气查询插件

This commit is contained in:
liuwei
2025-05-12 16:09:37 +08:00
parent a452facb95
commit dcd8765232
4 changed files with 268 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
# 从当前包的main模块导入WeatherPlugin类
from .main import WeatherPlugin
# 提供get_plugin函数返回插件实例
def get_plugin():
"""获取插件实例"""
return WeatherPlugin()