文档
测试

获取手机列表信息

GET
http://120.25.208.234:3003/phone/getlist?query=%7B%22name%22%3A%20%22Apple%20iPhone%2012%20Pro%20Max%20%E5%85%A8%E7%BD%91%E9%80%9A5G%E7%89%88%20%E6%B5%B7%E8%93%9D%E8%89%B2%20128GB%20%22%7D&page=1&pageSize=5

接口描述

手机 : phone ; 充电线 : USBcable ; 电脑 : computer ; 耳机 : earphone ; 外设 : peripheral ; 请求对应的商品,在地址修改对应的部分即可

请求参数

参数名
类型
描述
必填
query
string
示例:{"name": "Apple iPhone 12 Pro Max 全网通5G版 海蓝色 128GB "}
必填
page
int
示例:1
必填
pageSize
int
示例:5
必填

响应参数

参数名
类型
描述
必填
code
int
示例:2000
必填
flag
boolean
示例:true
必填
message
string
示例:查询成功
必填
total
int
示例:20 数据条数
必填
pages
object
示例:null
必填
datalist
array
数据列表
必填
_id
string
示例:5f8702ad3f0c43fb2590020f
必填
id
int
示例:94030
必填
productId
int
示例:47525
必填
ppid
int
示例:94030
必填
imagePath
string
示例:https://img2.yaya.cn/pic/product/440x440/20201014133654536.jpg
必填
promotionImage
string
示例:
必填
promotionImage2
string
示例:
必填
name
string
示例:Apple iPhone 12 全网通5G版 黑色 64GB
必填
profile
string
示例:A14仿生处理器,极速双模5G,超视网膜XDR显示屏
必填
price
string
示例:6288
必填
priceText
string
示例:6288
必填
unitText
string
示例:
必填
installment
string
示例:
必填
consultCount
int
示例:0
必填
commentCount
int
示例:0
必填
stockName
string
示例:
必填
productStatus
object
数据字典
必填
text
string
示例:预售
必填
color
string
示例:#268A72
必填
alpha
float
示例:0.5
必填
praiseRate
string
示例:
必填
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
示例:2
必填
url
string
示例:https://m.yaya.cn/product/94030.html
必填
storeNotShow
boolean
示例:false
必填
productAd
object
数据字典
必填
code
int
示例:2000
必填
flag
boolean
示例:true
必填
message
string
示例:查询成功
必填
page
string
示例:1
必填
pageSize
string
示例:5
必填
total
int
示例:1
必填
pages
int
示例:1
必填
datalist
array
数据列表
必填
_id
string
示例:5f8702ad3f0c43fb2590021b
必填
id
int
示例:96099
必填
productId
int
示例:47652
必填
ppid
int
示例:96099
必填
imagePath
string
示例:https://img2.yaya.cn/pic/product/440x440/20201014145120382.jpg
必填
promotionImage
string
示例:
必填
promotionImage2
string
示例:
必填
name
string
示例:Apple iPhone 12 Pro Max 全网通5G版 海蓝色 128GB
必填
profile
string
示例:A14仿生处理器,极速双模5G,Pro 级摄像头系统,激光雷达扫描仪
必填
price
string
示例:9288
必填
priceText
string
示例:9288
必填
unitText
string
示例:
必填
installment
string
示例:
必填
consultCount
int
示例:0
必填
commentCount
int
示例:0
必填
stockName
string
示例:
必填
productStatus
object
数据字典
必填
text
string
示例:预售
必填
color
string
示例:#268A72
必填
alpha
float
示例:0.5
必填
praiseRate
string
示例:
必填
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
示例:2
必填
url
string
示例:https://m.yaya.cn/product/96099.html
必填
storeNotShow
boolean
示例:false
必填
productAd
object
数据字典
必填