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

城市数据更改问题 #51

Closed
mark2L opened this issue Jun 7, 2018 · 4 comments
Closed

城市数据更改问题 #51

mark2L opened this issue Jun 7, 2018 · 4 comments

Comments

@mark2L
Copy link

mark2L commented Jun 7, 2018

@zaaach 你好,我发现你在项目里面用的城市编码是全国城市天气的代码,而我现在的需求是使用行政编码,所以想请教如何修改项目中的数据源,是需要把项目导出来,自己修改里面的db文件吗?

@tianyanzi
Copy link

我怎么才能使用自己的city数据呢

@superzhangbao
Copy link

@mark2L 兄弟 你找到修改数据源的方法了吗,我也需要用自己的数据源

@mark2L
Copy link
Author

mark2L commented Jun 13, 2018

@superzhangbao 我目前想到的就是把整个项目导入到我自己的项目里面,然后替换数据库文件

@salmanit
Copy link

搜索结果里返回了作者的city,完事你拿着city的name去你自己的数据库里查找好了,城市的话应该都一样吧,如果你的数据和作者都不一样那就没辙了,如果只是多了一些其他数据我感觉可以这样操作,就不需要复制代码了

@zaaach zaaach closed this as completed Dec 5, 2018
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

No branches or pull requests

5 participants