This repository was archived by the owner on Mar 23, 2026. It is now read-only.
feat: 通过 ip 地址获取地址 & 更好的地区模糊搜索#519
Merged
Merged
Conversation
baiyao105
reviewed
Mar 16, 2025
baiyao105
reviewed
Mar 16, 2025
Member
Author
|
return 删了) |
- 小改代码查询逻辑 - 小改log(更新完天气进程自杀)
Contributor
|
如果要通过 ip 获取位置的话,这个百度的 api 支持精确到区,可以考虑作为补充手段提高精度。 |
Member
这里有一个替代方案:现状为初次自动定位,内陆定位精度大概在省的范围 |
Member
Author
|
我看一下 |
Member
Author
目测定位不到区 |
Member
Author
这个差不多可以 按现在数据库的写法 先查 市+区 再查 市 是完全可以的 |
pizeroLOL
pushed a commit
to pizeroLOL/Class-Widgets
that referenced
this pull request
Aug 10, 2025
Co-authored-by: baiyao105 <nell_baiyao@163.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.