获取商品详情
POST
{{url}}/shop/goods/getObject
接口描述
获取商品详情
请求参数
参数名
类型
描述
必填
goodsId
int
商品id
必填
响应参数
参数名
类型
描述
必填
msg
string
示例:请求成功
必填
code
int
示例:200
必填
current
object
示例:null
必填
size
object
示例:null
必填
search
object
示例:null
必填
offset
object
示例:null
必填
goodsId
int
示例:1
必填
shopId
int
示例:1
必填
goodsName
string
示例:ROYAL CANIN 皇家猫粮 BK34猫奶糕
必填
oneLevel
int
示例:1
必填
twoLevel
int
示例:6
必填
goodsUrls
string
示例:https://qt-plastic.oss-cn-hangzhou.aliyuncs.com/pic/2022-07-27/3c6ef922cb8b4ffe95354fc6913bb645.jpg
必填
goodsVideo
string
示例:https://smart-recovery.oss-cn-hangzhou.aliyuncs.com/pic/2022-07-18/7f081dedfaa246e697101ea5fe7b72c2.png
必填
unifyModel
int
示例:2
必填
oldPrice
int
示例:210
必填
minPrice
int
示例:200
必填
maxPrice
int
示例:500
必填
isEmptyNum
int
示例:2
必填
isSell
int
示例:1
必填
isDelete
object
示例:null
必填
createTime
string
示例:2022-07-27 14:08:56
必填
updateTime
string
示例:2022-07-27 14:08:56
必填
sellNum
int
示例:0
必填
serverStr
string
示例:正品保障;急速发货;包邮
必填
infoId
int
示例:1
必填
goodsId
int
示例:1
必填
modelIdStr
string
示例:3,5
必填
modelPic
string
示例:https://qt-plastic.oss-cn-hangzhou.aliyuncs.com/pic/2022-07-27/3c6ef922cb8b4ffe95354fc6913bb645.jpg
必填
isSell
int
示例:1
必填
price
int
示例:200
必填
modelNum
int
示例:10
必填
modelWeight
int
示例:1
必填
costPrice
int
示例:100
必填
modelCode
string
示例:1000001
必填
createTime
string
示例:2022-07-27 16:48:45
必填
updateTime
string
示例:2022-07-27 16:48:45
必填
attrStr
object
示例:null
必填
modelId
int
示例:1
必填
goodsId
int
示例:1
必填
mpName
string
示例:颜色
必填
sort
int
示例:1
必填
childList
array
数据列表
必填
level
int
示例:1
必填
active
boolean
示例:false
必填
modelId
int
示例:3
必填
goodsId
int
示例:1
必填
mpName
string
示例:红色
必填
sort
int
示例:1
必填
childList
array
数据列表
必填
level
int
示例:2
必填
active
boolean
示例:false
必填
children
array
数据列表
必填
goodsModelInfoList
object
示例:null
必填
pid
int
示例:1
必填
goodsModelInfoList
object
示例:null
必填
pid
int
示例:0
必填