搜索
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
必填
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
商品数据列表
必填