-
Notifications
You must be signed in to change notification settings - Fork 588
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
城市数据更改问题 #51
Comments
我怎么才能使用自己的city数据呢 |
@mark2L 兄弟 你找到修改数据源的方法了吗,我也需要用自己的数据源 |
@superzhangbao 我目前想到的就是把整个项目导入到我自己的项目里面,然后替换数据库文件 |
搜索结果里返回了作者的city,完事你拿着city的name去你自己的数据库里查找好了,城市的话应该都一样吧,如果你的数据和作者都不一样那就没辙了,如果只是多了一些其他数据我感觉可以这样操作,就不需要复制代码了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@zaaach 你好,我发现你在项目里面用的城市编码是全国城市天气的代码,而我现在的需求是使用行政编码,所以想请教如何修改项目中的数据源,是需要把项目导出来,自己修改里面的db文件吗?
The text was updated successfully, but these errors were encountered: