java - 城市联动 实现
怪我咯
怪我咯 2017-04-17 17:39:53
0
1
441

最近项目要做一个城市联动的效果 类似通过 城市 和 所属区 定位 筛选出相关的的信息 但是我不知道
这是设计是要怎样 要把所有城市放入数据库 还是说 前段直接处理之类的 希望做过的解答下

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(1)
小葫芦

The database stores city data, and then the front-end obtains the data of the first-level province, and then initiates a request to obtain the city data when clicking on the province, and then obtains the district data as well.
In addition, in order to improve the loading speed, you can also do server-side caching for data, or you can do local caching

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template