商品详情

简要描述
  • 商品详情
请求URL
  • http://xx.com/supreme/item/detail
请求方式
  • GET
参数
参数名 必选 类型 说明
userID int 用户ID
itemID int 商品ID
返回示例
  {
    "code": 200,
    "data": {
        "itemID": 39,
        "itemName": "Supreme SS20 Week 19 Mesh Crusher 时尚休闲渔夫帽",
        "brandID": 2,
        "brandName": "Supreme",
        "brandLogo": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/brandImg/brand_0_LHOz.jpg",
        "itemCode": "SUP-SS20-754",
        "url": [
            "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/itemImg/item_0_srId.jpg"
        ],
        "salePrice": "549元",
        "discount": "",
        "discountPrice": "",
        "drawIDs": "",
        "collectStatus": 0,
        "type": 2,
        "attribute": [
            {
                "value": "549元",
                "key": "发售价"
            },
            {
                "value": "SUP-SS20-754",
                "key": "货号"
            },
            {
                "value": "2020-07-09 00:00:00",
                "key": "发售时间"
            }
        ],
        "platformPrice": [
            {
                "platformSkipUrl": "https://stockx.com/search?s=Supreme%20mesh,crusher&utm_source=af&utm_medium=imp&utm_campaign=1425741&impactSiteId=0N5VdIyAdxyLR370R9SJ3yrEUkEXPW3SGQq2Ro0&clickid=0N5VdIyAdxyLR370R9SJ3yrEUkEXPW3SGQq2Ro0&utm_term=0N5VdIyAdxyLR370R9SJ3yrEUkEXPW3SGQq2Ro0&utm_content=_530344&irgwc=1",
                "platformID": 8,
                "platformPrice": "$69",
                "type": 1,
                "platformLogo": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImg/badge_0_KPrY.png?x-oss-process=image/resize,w_300,h_300,m_lfit",
                "platformName": "stockx"
            }
        ],
        "status": 1,
        "noPunching": 0,
        "punching": 1,
        "likeStatus": 2,
        "draws": [],
        "drawsCategory": [],
        "score": [
            0.0,
            0.0,
            1.0,
            0.0,
            0.0
        ],
        "scoreTotal": 3.0,
        "portraitUrlList": [
            "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/userImg/user_0_HjiU.png",
            "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImg/badge_0_cPRd.jpg",
            "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/userImg/user_0_Giqk.png",
            "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/badgeImg/badge_0_BaYk.png"
        ],
        "scoreLevel": 0,
        "wearPicture": [
            {
                "pictureID": 154,
                "url": "https://devhonggezi.oss-cn-shenzhen.aliyuncs.com/itemImg/item_0_AuKS.jpg",
                "itemID": 39
            }
        ],
        "tipsStatus": 0
    },
    "message": "请求成功"
}
返回参数说明
参数名 类型 说明
itemID int 商品ID
itemName string 商品名字
brandID int 品牌ID
brandName string 品牌名字
brandLogo string 品牌logo
itemCode string 货号
url int 商品图片
salePrice string 出售价格
discount string 商品折扣
discountPrice string 打折后价格
type int 1去抽签,2去购买,3去抽签,去购买
collectStatus int 0未收藏,1收藏
attribute array 不确定属性
platformPrice array 去购买平台及价格
platformSkipUrl string 平台商品跳转价格
platformID int 平台跳转ID
type int 这里的type是属于平台去购买中的type,0复制连接,1购买
platformPrice double 商品在此平台上出售价格
platformLogo string 该平台logo
platformName string 平台名称
status int 0预售,1进行中,2已结束
draws array 抽签
drawID int 抽签ID
cityID int 城市ID
city string 城市名字
storeName string 店铺名字
logo string 店铺logo
remindStatus int 0不现实铃铛,1显示铃铛,2铃铛被点亮
skipType int 跳转平台
skipUrl string 跳转Url
type int 1线上抽签,2线下抽签
drawPrice string 抽签价格
description string 抽签描述
startTime long 开始时间
endTime long 结束时间
platformID int 平台ID
platform string 平台名称
address string 详细地址
drawsCategory array 抽签分类
score array 评分列表
scorePercent double 评分百分比 顺序与等级对应
scoreTotal double 总的评论值
scoreLevel int 当前用户评分等级数
wearPicture array 穿搭图片数组
tipsStatus int 0不提醒,1提醒
noPunching int 不冲个数
punching int 冲的个数
likeStatus int 状态:0不冲,1冲
备注
  • 更多返回错误代码请看首页的错误代码描述

欢迎使用ShowDoc!