Skip to content

Commit ae117e3

Browse files
authored
Merge pull request #2188 from myifeng/weather-config
优化天气配置
2 parents 283e57f + 0d19c69 commit ae117e3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

main/xiaozhi-server/config.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,10 @@ plugins:
114114
# 想稳定一点就自行申请替换,每天有1000次免费调用
115115
# 申请地址:https://console.qweather.com/#/apps/create-key/over
116116
# 申请后通过这个链接可以找到自己的apihost:https://console.qweather.com/setting?lang=zh
117-
get_weather: {"api_host":"mj7p3y7naa.re.qweatherapi.com", "api_key": "a861d0d5e7bf4ee1a83d9a9e4f96d4da", "default_location": "广州" }
117+
get_weather:
118+
api_host: "mj7p3y7naa.re.qweatherapi.com"
119+
api_key: "a861d0d5e7bf4ee1a83d9a9e4f96d4da"
120+
default_location: "广州"
118121
# 获取新闻插件的配置,这里根据需要的新闻类型传入对应的url链接,默认支持社会、科技、财经新闻
119122
# 更多类型的新闻列表查看 https://www.chinanews.com.cn/rss/
120123
get_news_from_chinanews:

0 commit comments

Comments
 (0)