文档
测试

一区一景

GET
{{host}}/Shop/Shop/getScenicSpot

请求参数

参数名
类型
描述
必填
page
页码数 默认1
必填
pagesize
每页数据数 默认5
必填
city
城市
必填

响应参数

参数名
类型
描述
必填
banner
轮播图信息
必填
link
跳转id
必填
title
标题
必填
image
轮播图图片
必填
tour
畅游联盟
必填
price
价格
必填
sales
销量
必填
goods_name
商品名称
必填
img
店铺缩略图
必填
id
店铺id
必填
hotel
酒店
必填
restaurant
食康天下
必填

说明 / 示例

{ "code": 200, "msg": "执行成功", "data": { "banner": [ { "id": 2, "image": "https://yys.res.netease.com/pc/zt/20170731172708/data/picture/20190705/11/1920x1080.jpg", "link": "1", "on": 1, "title": "" }, { "id": 3, "image": "https://yys.res.netease.com/pc/zt/20170731172708/data/picture/20190705/11/1920x1080.jpg", "link": "1", "on": 1, "title": "" } ], "tour": [ { "price": "0.00", "sales": 0, "goods_name": "11", "img": "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1608352242914&di=91c955733fc55a4b2f5d8a785407499f&imgtype=0&src=http%3A%2F%2Fp6.zbjimg.com%2Fservice%2F2015-07%2F30%2Fservice%2F55b9d942a804c.jpg", "id": 1, "type": 1 } ], "hotel": [], "restaurant": [ { "price": "22.00", "sales": 0, "goods_name": "木斧2233", "img": "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1608352287358&di=12209abad619c776e648a2f0136f1558&imgtype=0&src=http%3A%2F%2Fwww.cddrzs.com%2Fuploadfile%2F2018%2F0306%2F20180306031842701.jpg", "id": 2, "type": 3 } ] } }