Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 修复备用接口获取天气时显示失败的问题 #252

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

Libw-I
Copy link
Contributor

@Libw-I Libw-I commented Feb 24, 2024

根据教书先生API文档更新了对返回参数对象的处理
因为API只返回了最高和最低温度,所以就直接换算取平均值(如果字符串不能够被正确解析,结果可能会是NaN🤔)
(来个好心人合并审核一下呗😭)
305651870-092ee4eb-87cf-4bdc-81ce-82a2eafb21bc

Copy link

vercel bot commented Feb 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
home ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 24, 2024 1:22pm

Copy link

@linzeliang1222 linzeliang1222 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@imsyy imsyy mentioned this pull request Mar 9, 2024
@imsyy imsyy merged commit 4b60e7e into imsyy:dev Mar 11, 2024
1 check passed
@imsyy
Copy link
Owner

imsyy commented Mar 11, 2024

抱歉啊,最近有点忙 😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants