文档
测试

查看详情

POST
commodity/productDetails

请求头

参数名
类型
描述
必填
token
必填

请求参数

参数名
类型
描述
必填
pid
产品id
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:200
必填
state
boolean
示例:true
必填
productDetails
object
数据字典 产品详情
必填
pid
int
示例:129
必填
pName
string
示例:金色-RF单火开关 产品名
必填
pIntroduce
string
示例:无需重新布线、无需破坏装修、只需直接换装面板开关,成功对接后即可实现语音控制灯源 简介
必填
specification
string
示例:1
必填
pPrice
int
示例:208 原价
必填
pImagetext
string
示例: 产品图文介绍 富文本
必填
pGrade
int
示例:5 评分
必填
pPricef
int
示例:198 现价
必填
pCount
int
示例:9988 库存
必填
pTime
string
示例:2020-07-21 17:18:18.0
必填
pType
list
示例:2 产品类型集合
必填
pdCid
id
必填
cId
系列id
必填
pdId
产品id
必填
pRecommendtype
int
示例:0 推荐状态 1推荐 0不推荐
必填
pPutawaytype
int
示例:1 上下架状态 1上架 2下 3删除
必填
pSpecialPrice
int
示例:0
必填
pFreight
int
示例:0 运费价格
必填
pCover
string
示例:https://bj-yys.oss-accelerate.aliyuncs.com/bj-yys/1595901841992.jpg
必填
productSlideshowList
array
数据列表
必填
sId
int
示例:3025
必填
pId
int
示例:129
必填
sPic
string
示例:https://bj-yys.oss-accelerate.aliyuncs.com/bj-yys/1595901846963.jpg
必填
sTime
string
示例:2021-01-11 11:38:32.0
必填
sState
int
示例:1
必填
sOrder
int
示例:1
必填
pDiscount
int
示例:1 折扣度
必填
cType
string
示例:智慧家居 产品类型名
必填
pUnits
string
示例:个/斤/套 产品单位
必填
createuser
int
示例:20 创建用户id
必填
pCost
int
示例:88 成本价/出厂价
必填
pAdvertise
int
示例:1
必填
pBrandid
int
示例:11 品牌id
必填
pBrandname
string
示例:智控领域 品牌名
必填
seriesId
int
示例:5 系列id
必填
pColorname
string
示例:金色(一键) 颜色
必填
maxPrice
int
示例:208
必填
minPrice
int
示例:208
必填
pNum
int
示例:0
必填
num
string
示例:0
必填
distributorRatio
float
示例:0.05 分销比例
必填
makeMoney
string
示例:5.50
必填
pPidType
int
示例:28 产品类型子id
必填
merchantcategoryId
int
示例:0
必填
pIsTreasure
int
示例:0
必填