简要描述:

  • 店铺街 店铺列表

请求URL:

POST/wapapi/addons/execute/addons/shop/controller/shop/action/shopSearch

参数:

参数名 是否必须 类型 说明
search_text string 搜索关键字
page_index int 当前页数
order string 排序字段
sale_num:销量
shop_collect:人气(收藏数)
comprehensive:评分
shop_create_time:入驻时间
sort string 排序ASC,DESC
shop_group_id int/string 分类id

返回示例:

正确时返回:

{
    "code": 1,
    "data": {
    "shop_list":[
		"{
		  "shop_id":12,//店铺id
		  "shop_logo":src_url;//店铺logo
		  "shop_name":"阿二水果店",//店铺名
		  "group_name":"水果店",//类别名称
		  "description_credit":4.5,//描述评分
		  "service_credit":3,//服务评分
		  "delivery_credit":3.5,//物流评分
		  "comprehensive":3.7// 综合评分
		  "goods_list":[
		  	{
			"goods_id": 362,// 商品id
			"logo": "http://sit.vslai.com.cn/upload/17/29/common/1547535968.jpg",//商品图片
			"price": "123.00"//商品价格
			}
		  ]
		}
	]
}
}

错误时返回:

{
    "code": < 0,
    "message": "错误信息"
}

返回参数说明:

参数名 类型 说明
shop_id string 店铺id
shop_logo string 店铺logo
shop_name string 店铺名
group_name string 类别名称
description_credit float 描述评分
service_credit float 服务评分
delivery_credit float 物流评分