diff --git a/pages/shopcity/shopcity.vue b/pages/shopcity/shopcity.vue index 5e8fc702..01deb0f8 100644 --- a/pages/shopcity/shopcity.vue +++ b/pages/shopcity/shopcity.vue @@ -215,7 +215,9 @@ export default { mask: true }) request(apiArr.getRegionList, 'POST', { - short_name: keyword + short_name: keyword, + ad_level: 2, + }, { silent: false }).then((res) => { console.log('搜索结果', res); this.searchValue = keyword; @@ -263,7 +265,10 @@ export default { title: '加载中', mask: true }) - const res = await request(apiArr.getRegionList, 'POST', {}, { silent: false }); + const params = { + ad_level:2 + } + const res = await request(apiArr.getRegionList, 'POST', params, { silent: false }); // TODO: 数据量返回过于庞大,只获取所需信息,其他内容舍弃 const newRes = res.rows.map((item) => { return {