boundary=region(北京,0)',北京如果设置成变量切换为别的城市
发布于 5 年前 作者 lmeng 9765 次浏览 来自 问答

wx.request({

url: https://apis.map.qq.com/ws/place/v1/search?boundary=region(北京,0),

data: {

page_size: 20,

page_index: 1,

keyword: page.data.station,

我搜的地铁名是落在确定的一个城市的,我请求的时候在url: https://apis.map.qq.com/ws/place/v1/search?boundary=region(city,0)’,这个city不能切换城市。请赐教。

回到顶部