文档
测试

产品检索

POST
http://localhost:8800/zklystore/HomepageController/selVaguePD

请求参数

参数名
类型
描述
必填
pName
产品名 或者关键字
必填
salessort
销量排序 1正序 默认0
必填
pricesort
价格排序 1正序 2倒叙 默认0
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
code
number
示例:200
必填
state
boolean
示例:true
必填
productDetails
array
数据列表
必填
pid
number
示例:5
必填
pPricef
number
示例:159.6
必填
pSpecialPrice
number
示例:0
必填
pFreight
number
示例:0
必填
pCover
string
示例:https://bj-yys.oss-cn-beijing.aliyuncs.com/bj-yys/262e95dd2b494a51880fbae7539d90c982d12e95f9cce171df8659f343edd5f.jpg
必填
productSlideshowList
object
示例:null
必填
evaluatetList
object
示例:null
必填
historytime
object
示例:null
必填
pDiscount
number
示例:0
必填
counts
object
示例:null
必填
questions
object
示例:null
必填
precommendtype
object
示例:null
必填
ptime
object
示例:null
必填
pintroduce
object
示例:null
必填
pimagetext
object
示例:null
必填
pprice
number
示例:168
必填
pname
string
示例:爱奇艺盒子
必填
pcount
object
示例:null
必填
pputawaytype
object
示例:null
必填
pgrade
number
示例:90
必填
ptype
object
示例:null
必填

说明 / 示例

pidint(11) NOT NULL p_covervarchar(255) NULL封面 p_namevarchar(255) NULL产品名称 p_introducevarchar(255) NULL产品简介 p_imagetextvarchar(255) NULL产品图文介绍 p_pricedouble NULL产品价格 p_gradedouble NULL产品评分 p_countint(11) NULL产品数量 p_timedatetime NULL创建时间 p_typeint(11) NULL产品类型id p_recommendtypeint(11) NULL推荐状态 1推荐 0不推荐 p_putawaytypeint(11) NULL上下架状态 1上架 2下 p_discountdouble NULL产品折扣度 9折/5折 p_freightdouble NULL运费 l_idint(11) NULL标签id 型号