文档
测试
POST
/csc/market/sysmarket/searchGoodsAndShopByMarket

接口描述

searchName和marketId是必要的 isSalesMonth isScore只能有一个是1 如果两个都是1就默认传回按照综合评分排序 都不传就默认综合排序 isSalesMonth isScore两个只能传递1个

请求参数

参数名
类型
描述
必填
searchName
string
示例:2 搜索2 有例子写好的
必填
marketId
string
示例:1410882508098244608
必填
isSalesMonth
int
示例:1
必填
isScore
int
1
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:200
必填
shopAndProductList
array
数据列表
必填
shopId
string
示例:1408433465845747712
必填
shopName
string
示例:312 店铺名称
必填
score
int
示例:4 店铺综合评分
必填
salesAll
int
示例:0 总销量
必填
salesMonth
int
示例:100 月售
必填
shopStatus
int
示例:1 店铺转态
必填
headUrl
string
示例:http://guli123.oss-cn-beijing.aliyuncs.com/20210625/4b9fa6f209e848e091e69ea476c59773.jpg
必填
topUrl
string
示例:http://guli123.oss-cn-beijing.aliyuncs.com/20210625/be47c5514d77435aade854aa095b8402.jpg,http://guli123.oss-cn-beijing.aliyuncs.com/20210625/be47c5514d77435aade854aa095b8402.jpg,
必填
mainTypeId
int
示例:3 主营分类名
必填
ownerId
string
示例:1408433312036425728 摊主id
必填
onlineTime
string
示例:暂时没有设定营业时间 在线营业时间
必填
full
int
示例:30 满起送
必填
shopInfo
string
示例:暂时无详情信息 店铺详情
必填
shopPhone
string
示例:13213232342 店铺电话
必填
secondTypeId
int
示例:7 辅营分类id
必填
shopAddress
string
示例:福州 所在城市
必填
shopMarket
string
示例:洪塘农贸市场 市场名称
必填
marketId
string
示例:1410882508098244608 市场id
必填
mainTypeName
string
示例:肉类 主营分类名
必填
list
array
商品数据列表
必填

说明 / 示例

{ "msg": "success", "code": 200, "shopAndProductList": [ { "shopId": "1408433465845747712", "shopName": "312", "score": 4, "salesAll": 0, "salesMonth": 100, "shopStatus": 1, "headUrl": "http://guli123.oss-cn-beijing.aliyuncs.com/20210625/4b9fa6f209e848e091e69ea476c59773.jpg", "topUrl": "http://guli123.oss-cn-beijing.aliyuncs.com/20210625/be47c5514d77435aade854aa095b8402.jpg,http://guli123.oss-cn-beijing.aliyuncs.com/20210625/be47c5514d77435aade854aa095b8402.jpg,", "mainTypeId": 3, "ownerId": "1408433312036425728", "onlineTime": "暂时没有设定营业时间", "full": 30, "shopInfo": "暂时无详情信息", "shopPhone": "13213232342", "secondTypeId": 7, "shopAddress": "福州", "shopMarket": "洪塘农贸市场", "marketId": "1410882508098244608", "mainTypeName": "肉类", "list": [] }, { "shopId": "1", "shopName": "洪塘农贸市场1号摊铺", "score": 3.3, "salesAll": 5, "salesMonth": 25, "shopStatus": 0, "headUrl": null, "topUrl": null, "mainTypeId": 1, "ownerId": "123", "onlineTime": "8:00-20:00", "full": 30, "shopInfo": "无敌", "shopPhone": "18150662502", "secondTypeId": 2, "shopAddress": "福州", "shopMarket": null, "marketId": "1410882508098244608", "mainTypeName": "水果", "list": [ { "productId": "1409428523025829888", "productName": "123", "productUrl": "http://image.photophoto.cn/nm-15/037/006/0370060478.jpg", "store": 123, "price": 123, "unit": "份", "oldPrice": null, "status": 1, "discount": 0 }, { "productId": "1409428677757898752", "productName": "123", "productUrl": "http://image.photophoto.cn/nm-15/037/006/0370060478.jpg", "store": 123, "price": 123, "unit": "份", "oldPrice": null, "status": 1, "discount": 0 }, { "productId": "1409428817751183360", "productName": "123", "productUrl": "http://image.photophoto.cn/nm-15/037/006/0370060478.jpg", "store": 1231, "price": 123, "unit": "份", "oldPrice": null, "status": 1, "discount": 0 }, { "productId": "1409428931408433152", "productName": "123123", "productUrl": "http://image.photophoto.cn/nm-15/037/006/0370060478.jpg", "store": 213, "price": 123, "unit": "份", "oldPrice": null, "status": 1, "discount": 0 }, { "productId": "1409428973666045952", "productName": "123123", "productUrl": "http://image.photophoto.cn/nm-15/037/006/0370060478.jpg", "store": 1231, "price": 123, "unit": "份", "oldPrice": null, "status": 1, "discount": 0 }, { "productId": "1409429709309218816", "productName": "123", "productUrl": "http://image.photophoto.cn/nm-15/037/006/0370060478.jpg", "store": 1231, "price": 123, "unit": "份", "oldPrice": null, "status": 1, "discount": 0 }, { "productId": "1409429897838989312", "productName": "123", "productUrl": "http://image.photophoto.cn/nm-15/037/006/0370060478.jpg", "store": 2312, "price": 123, "unit": "份", "oldPrice": null, "status": 1, "discount": 0 }, { "productId": "1409430050608123904", "productName": "新增2", "productUrl": "http://image.photophoto.cn/nm-15/037/006/0370060478.jpg", "store": 123, "price": 123, "unit": "份", "oldPrice": null, "status": 1, "discount": 0 } ] }, { "shopId": "1408365593291264000", "shopName": "好再来水果", "score": 5, "salesAll": 0, "salesMonth": 23, "shopStatus": 1, "headUrl": "http://guli123.oss-cn-beijing.aliyuncs.com/20210625/7bb2c22b835c45fa831a49d2ca4bc034.jpg", "topUrl": "http://guli123.oss-cn-beijing.aliyuncs.com/20210625/53b78831215544dc82fbde7f3fead713.jpg,http://guli123.oss-cn-beijing.aliyuncs.com/20210625/53b78831215544dc82fbde7f3fead713.jpg,", "mainTypeId": 1, "ownerId": "1406803944625278976", "onlineTime": "暂时没有设定营业时间", "full": 30, "shopInfo": "暂时无详情信息", "shopPhone": "18050401075", "secondTypeId": 2, "shopAddress": "福州", "shopMarket": "洪塘农贸市场", "marketId": "1410882508098244608", "mainTypeName": "水果", "list": [ { "productId": "1406238018335019008", "productName": "123", "productUrl": "http://image.photophoto.cn/nm-15/037/006/0370060478.jpg", "store": 55, "price": 66, "unit": "份", "oldPrice": 99, "status": 1, "discount": null }, { "productId": "1411987893429342208", "productName": "猪肉2斤装", "productUrl": "http://guli123.oss-cn-beijing.aliyuncs.com/20210723/2e8f9171f9324ab5829b4327fabe5753.jpg", "store": 20, "price": 20, "unit": "份", "oldPrice": null, "status": 1, "discount": 0 } ] } ] }