文档
测试

模糊搜索商品

GET
http://120.25.208.234:3003/appgoodslist/search/?name=%E8%8B%B9%E6%9E%9C

请求参数

参数名
类型
描述
必填
name
string
示例:苹果
必填

响应参数

参数名
类型
描述
必填
code
int
示例:2000
必填
flag
boolean
示例:true
必填
message
string
示例:查询成功
必填
total
int
示例:11
必填
datalist
array
数据列表
必填
_id
string
示例:5f8703903f0c43fb25900279
必填
id
int
示例:58445
必填
productId
int
示例:31148
必填
ppid
int
示例:58445
必填
imagePath
string
示例:https://img2.yaya.cn/pic/product/440x440/20190428103244974.jpg
必填
promotionImage
string
示例:
必填
promotionImage2
string
示例:
必填
name
string
示例:苹果 原装Type-C转Lightning快充连接线 1m 白色
必填
profile
string
示例:多款机型兼容,快速充电,携带便捷
必填
price
string
示例:145
必填
priceText
string
示例:145
必填
unitText
string
示例:
必填
installment
string
示例:
必填
consultCount
int
示例:0
必填
commentCount
int
示例:6
必填
stockName
string
示例:
必填
productStatus
object
数据字典
必填
text
string
示例:
必填
color
string
示例:#268A72
必填
alpha
float
示例:0.5
必填
praiseRate
string
示例:100%
必填
hasAppPrice
boolean
示例:false
必填
newProduct
object
数据字典
必填
bargain
object
数据字典
必填
secondHand
object
数据字典
必填
nameTag
string
示例:
必填
hspid
int
示例:0
必填
tag
array
数据列表
必填
hintTags
array
数据列表
必填
discountTags
array
数据列表
必填
rank
object
数据字典
必填
has
boolean
示例:false
必填
link
string
示例:
必填
text
string
示例:
必填
colors
array
数据列表
必填
soldFlag
boolean
示例:false
必填
cid
int
示例:66
必填
url
string
示例:https://m.yaya.cn/product/58445.html
必填
storeNotShow
boolean
示例:false
必填
productAd
object
数据字典
必填