最新公告
  • 欢迎您光临三优资源网,本站秉承服务宗旨 履行“站长”责任,销售只是起点 服务永无止境!立即加入我们
  • 积分商城 exchange/detail 积分商品详情

    积分商品详情

    接口描述:

    • 积分商品详情(exchange/detail)

    接口版本:

    版本号 制定人 制定日期 修订日期
    1.0.0 wanganlin 2017-03-20 2017-03-25

    请求URL:

    • http://domain/api/v4/exchange/detail

    请求方式:

    • GET

    请求头:

    参数名 是否必须 类型 说明
    Content-Type String 请求类型: application/json
    token String 请求内容签名

    请求参数:

    参数名 是否必须 默认值 类型 说明
    id String
    warehouse_id String
    area_id String

    返回示例:

    正确时返回:

    {
        "status": "success",
        "data": {
            "goods_id": 873,
            "cat_id": 1443,
            "user_cat": 0,
            "user_id": 0,
            "goods_sn": "ECS000873",
            "bar_code": "",
            "goods_name": "Nike 耐克官方 PRO COOL COMP LONG-SLEEVE 男子训练紧身衣703088",
            "goods_name_style": "+",
            "click_count": 33,
            "brand_id": 107,
            "provider_name": "",
            "goods_number": 999,
            "goods_weight": "0克",
            "default_shipping": 0,
            "market_price": "¥298.80",
            "cost_price": "0.00",
            "shop_price": 249,
            "promote_price": "200.00",
            "promote_start_date": 1488182400,
            "promote_end_date": 1504080000,
            "warn_number": 1,
            "keywords": "",
            "goods_brief": "",
            "goods_desc": "",
            "desc_mobile": "",
            "goods_thumb": "http://domain/storage/images/201703/thumb_img/0_thumb_G_1490218873837.jpg",
            "goods_img": "http://domain/storage/images/201703/goods_img/0_G_1490218873500.jpg",
            "original_img": "images/201703/source_img/0_G_1490218873714.jpg",
            "is_real": 1,
            "extension_code": "",
            "is_on_sale": 0,
            "is_alone_sale": 1,
            "is_shipping": 0,
            "integral": 0,
            "add_time": "1490218879",
            "sort_order": 100,
            "is_delete": 0,
            "is_best": 1,
            "is_new": 1,
            "is_hot": 1,
            "is_promote": 1,
            "is_volume": 0,
            "is_fullcut": 0,
            "bonus_type_id": 0,
            "last_update": 1551209088,
            "goods_type": 0,
            "seller_note": "",
            "give_integral": 0,
            "rank_integral": 0,
            "suppliers_id": 0,
            "is_check": null,
            "store_hot": 0,
            "store_new": 0,
            "store_best": 0,
            "group_number": 0,
            "is_xiangou": 0,
            "xiangou_start_date": 0,
            "xiangou_end_date": 0,
            "xiangou_num": 0,
            "review_status": 5,
            "review_content": "",
            "goods_shipai": "",
            "comments_number": 0,
            "sales_volume": 0,
            "comment_num": 0,
            "model_price": 0,
            "model_inventory": 0,
            "model_attr": 0,
            "largest_amount": "0.00",
            "pinyin_keyword": "Nike naikeguanfang PRO COOL COMP LONGSLEEVE nanzixunlianjinshenyi703088",
            "goods_product_tag": "",
            "goods_tag": null,
            "stages": "",
            "stages_rate": "0.00",
            "freight": 2,
            "shipping_fee": "0.00",
            "tid": 0,
            "goods_unit": "个",
            "goods_cause": "",
            "dis_commission": "0.00",
            "is_distribution": 0,
            "commission_rate": "0",
            "from_seller": 0,
            "user_brand": 0,
            "product_table": "products",
            "product_id": 0,
            "product_price": "0.00",
            "is_show": 1,
            "product_promote_price": "0.00",
            "cloud_id": 0,
            "cloud_goodsname": "",
            "goods_video": "",
            "get_category": {
                "cat_id": 1443,
                "measure_unit": "",
                "url": "http://domain/category.php?id=1443"
            },
            "get_exchange_goods": {
                "goods_id": 873,
                "exchange_integral": 2388,
                "market_integral": 0,
                "is_exchange": 1
            },
            "get_warehouse_goods": null,
            "get_warehouse_area_goods": null,
            "get_brand": {
                "brand_id": 107,
                "brand_name": "三星"
            },
            "get_goods_extend": {
                "extend_id": 258,
                "goods_id": 873,
                "is_reality": 0,
                "is_return": 0,
                "is_fast": 0,
                "width": "",
                "height": "",
                "depth": "",
                "origincountry": "",
                "originplace": "",
                "assemblycountry": "",
                "barcodetype": "",
                "catena": "",
                "isbasicunit": "0",
                "packagetype": "",
                "grossweight": "",
                "netweight": "",
                "netcontent": "",
                "licensenum": "",
                "healthpermitnum": ""
            },
            "exchange_integral": 2388,
            "market_integral": 0,
            "is_exchange": 1,
            "is_collect": 0,
            "goods_brand": "三星",
            "measure_unit": "",
            "gallery_list": [
                {
                    "img_id": 954,
                    "goods_id": 873,
                    "img_url": "http://domain/storage/images/201703/goods_img/0_P_1490218873989.jpg",
                    "img_desc": 4,
                    "thumb_url": "http://domain/storage/images/201703/thumb_img/0_thumb_P_1490218873132.jpg",
                    "img_original": "http://domain/storage/images/201703/source_img/0_P_1490218873192.jpg",
                    "single_id": null,
                    "external_url": "",
                    "front_cover": null,
                    "dis_id": null
                }
            ],
            "exchange_goods_attr": [],
            "attr_parameter": [],
            "watermark_img": "watermark_new",
            "marketPrice": "298.80",
            "goods_price": "¥1194.00",
            "rz_shopName": "商创",
            "shopinfo": {
                "id": 16,
                "ru_id": 0,
                "shop_name": "商创",
                "shop_title": "大商创-免费B2B2C商城系统,免费多商户商城系统,多店铺商城系统,企业级电商系统免费下载_模板堂出",
                "shop_keyword": "大商创 免费商城系统 免费B2B2C 免费多商户系统  多店铺商城系统 企业级电商系统  ecsho",
                "country": 1,
                "province": 310000,
                "city": 0,
                "district": 0,
                "shop_address": "中山北路3553号伸大厦301 商创网络",
                "seller_email": "yangruopeng@ecmoban.com",
                "kf_qq": "客服一|349488953\r\n客服二|1234567",
                "kf_ww": "小黄人|654321",
                "meiqia": "",
                "kf_type": 0,
                "kf_tel": "4000-000-000",
                "site_head": "",
                "mobile": "",
                "shop_logo": "",
                "logo_thumb": "",
                "street_thumb": "",
                "brand_thumb": "",
                "notice": "尊敬的各位合作伙伴,感谢您对平台的关注与爱戴.一路上有你的陪伴,我们相信,明天的阳光更加灿烂..",
                "street_desc": "",
                "shop_header": null,
                "shop_color": null,
                "shop_style": 0,
                "shop_close": 1,
                "apply": 0,
                "is_street": 0,
                "remark": "",
                "seller_theme": "",
                "win_goods_type": 1,
                "store_style": "",
                "check_sellername": 0,
                "shopname_audit": 1,
                "shipping_id": 9,
                "shipping_date": "",
                "longitude": "",
                "tengxun_key": "",
                "latitude": "",
                "kf_appkey": 23364375,
                "kf_touid": "就在去年",
                "kf_logo": "http://",
                "kf_welcomeMsg": "欢迎来到大商创B2B2C多商户系统",
                "kf_secretkey": "a925dec781e7070fc5602cf01f693be3",
                "user_menu": "",
                "kf_im_switch": 1,
                "seller_money": "0.00",
                "frozen_money": "0.00",
                "credit_money": "0.00",
                "seller_templates": "",
                "templates_mode": 1,
                "js_appkey": "f63f9033f270a96e",
                "js_appsecret": "5egpdRCJy9HEHm6ZQBz3Q2YoWftsDtPj",
                "print_type": 0,
                "kdniao_printer": "",
                "review_status": 1,
                "review_content": "",
                "self_run": ""
            },
            "collect_count": 0,
            "integral_money": "¥50.00",
            "goods_extend": {
                "extend_id": 258,
                "goods_id": 873,
                "is_reality": 0,
                "is_return": 0,
                "is_fast": 0,
                "width": "",
                "height": "",
                "depth": "",
                "origincountry": "",
                "originplace": "",
                "assemblycountry": "",
                "barcodetype": "",
                "catena": "",
                "isbasicunit": "0",
                "packagetype": "",
                "grossweight": "",
                "netweight": "",
                "netcontent": "",
                "licensenum": "",
                "healthpermitnum": ""
            }
        },
        "time": 1554275738
    }

    错误时返回:

    {
        "status": 'failed',
        "errors": {
            "code": 404,
            "message": "message"
        },
        "time": 1553515084
    }

    返回参数说明:

    参数名 类型 说明
    goods_id Number 商品id
    cat_id Number 分类id
    user_cat Number 商家分类
    user_id Number 商家id
    goods_sn String 商品货号
    bar_code String 条形码
    goods_name String 商品名称
    goods_name_style String 商品名称
    click_count Number 访问数量
    brand_id Decimal 品牌id
    provider_name String
    goods_number Number 库存
    goods_weight Number 重量
    default_shipping Number 默认配送
    market_price Decimal 市场价格
    cost_price Decimal 成本价格
    shop_price Decimal 商品价格
    promote_price Decimal 促销价格
    promote_start_date String 促销开始时间
    promote_end_date String 促销结束时间
    warn_number Number 库存警告数量
    keywords String 关键词
    goods_brief String 简介
    goods_desc String 描述
    desc_mobile String h5描述
    goods_thumb String 缩略图
    goods_img String 主图
    original_img String 原图
    is_real Number 是否实物商品
    extension_code String 标识
    is_on_sale Number 是否出售
    is_alone_sale Number 是否单独出售
    is_shipping Number 是否免邮
    integral String 积分
    add_time String 添加时间
    sort_order Number 排序
    is_delete Number 是否回收站
    is_best Number 推荐
    is_new Number 新品
    is_hot Number 热门
    is_promote Number 促销
    is_volume Number
    is_fullcut Number
    bonus_type_id Number 红包类型id
    last_update String 更新时间
    goods_type Number 商品类型
    seller_note String 商家备注
    give_integral String 赠送积分
    rank_integral String 等级积分
    suppliers_id Number 供货商id
    is_check Number 是否审核
    store_hot Number 商家热门
    store_new Number 商家新品
    store_best Number 商家推荐
    group_number Number 组合商品数量
    is_xiangou Number 是否限购
    xiangou_start_date String 限购开始时间
    xiangou_end_date String 限购结束时间
    xiangou_num Number 限购数量
    review_status Number 审核状态
    review_content String 审核内容
    goods_shipai String 商品实拍
    comments_number Number 评论数量
    sales_volume Number 销量
    comment_num Number 评论数量
    model_price Decimal
    model_inventory Number
    model_attr Number
    largest_amount Number
    pinyin_keyword String 名称拼音
    goods_product_tag String 货品标签
    goods_tag String 商品标签
    stages Number
    stages_rate String
    freight Number 重量
    shipping_fee Number 配送费
    tid Number
    goods_unit String 单位
    goods_cause String 退换货标识
    dis_commission Number 是否分佣
    is_distribution Number 是否分销
    commission_rate String 佣金比例
    from_seller Number
    user_brand Number 商家品牌
    product_table String
    product_id Number 货品id
    product_price Decimal 货品价格
    is_show Number 是否显示
    product_promote_price Decimal 货品促销价格
    cloud_id Number
    cloud_goodsname String
    goods_video String 商品视频url
    get_category List[]
    ├─ cat_id Number
    ├─ measure_unit String
    ├─ url String
    get_exchange_goods List[]
    ├─ goods_id Number
    ├─ exchange_integral Number
    ├─ market_integral Number
    ├─ is_exchange Number
    get_warehouse_goods
    get_warehouse_area_goods
    get_brand List[]
    ├─ brand_id Number
    ├─ brand_name String
    get_goods_extend List[]
    ├─ extend_id Number 拓展id
    ├─ goods_id Number 商品id
    ├─ is_reality Number 是否正品
    ├─ is_return Number 是否支持包退
    ├─ is_fast Number 是否闪电送货
    ├─ width String 宽度
    ├─ height String 高度
    ├─ depth String 深度
    ├─ origincountry String 原始国家
    ├─ originplace String 原始位置
    ├─ assemblycountry String 组装国家
    ├─ barcodetype String 条码类型
    ├─ catena String 产品系列
    ├─ isbasicunit String 基本单位
    ├─ packagetype String 打包类型
    ├─ grossweight String 总重量
    ├─ netweight String 净重
    ├─ netcontent String 净含量
    ├─ licensenum String 许可证号
    ├─ healthpermitnum String
    exchange_integral Number
    market_integral Number
    is_exchange Number
    is_collect Number
    goods_brand String
    measure_unit String
    gallery_list List[]
    ├─ 0 List[]
    exchange_goods_attr List[]
    attr_parameter List[]
    watermark_img String
    marketPrice String
    goods_price String
    rz_shopName String
    shopinfo List[]
    ├─ id Number
    ├─ ru_id Number 商家id
    ├─ shop_name String 商店名称
    ├─ shop_title String 商店标题
    ├─ shop_keyword String 关键字
    ├─ country Number 国家
    ├─ province Number 省份
    ├─ city Number 城市
    ├─ district Number
    ├─ shop_address String 详细地址
    ├─ seller_email String 邮箱地址
    ├─ kf_qq String qq客服
    ├─ kf_ww String 云旺客服
    ├─ meiqia String 美洽
    ├─ kf_type Number 客服类型
    ├─ kf_tel String 客服电话
    ├─ site_head String
    ├─ mobile String 手机
    ├─ shop_logo String 商店logo
    ├─ logo_thumb String logo缩略图
    ├─ street_thumb String 店铺街封面图
    ├─ brand_thumb String 店铺街品牌图
    ├─ notice String 店铺公告
    ├─ street_desc String 店铺街描述
    ├─ shop_header 店铺头部
    ├─ shop_color 店铺整体色调
    ├─ shop_style Number 店铺样式
    ├─ shop_close Number 是否关闭店铺
    ├─ apply Number 是否申请加入店铺街
    ├─ is_street Number 是否已申请加入店铺街
    ├─ remark String 管理员备注
    ├─ seller_theme String 店铺模板
    ├─ win_goods_type Number 店铺橱窗类型
    ├─ store_style String 显示店铺名称类型
    ├─ check_sellername Number 入驻品牌店铺名称
    ├─ shopname_audit Number 店铺名称审核状态
    ├─ shipping_id Number 店铺默认配送方式
    ├─ shipping_date String 配送日期
    ├─ longitude String 进度
    ├─ tengxun_key String 腾讯key
    ├─ latitude String 纬度
    ├─ kf_appkey Number 在线客服appkey
    ├─ kf_touid String 在线客服账号
    ├─ kf_logo String 客服头像
    ├─ kf_welcomeMsg String 在线客服欢迎信息
    ├─ kf_secretkey String appkeysecret
    ├─ user_menu String 店铺快捷菜单
    ├─ kf_im_switch Number 云旺im客服开关
    ├─ seller_money String 商家账户余额
    ├─ frozen_money String 冻结资金
    ├─ credit_money String 信用额度
    ├─ seller_templates String 商家模板
    ├─ templates_mode Number 模板类型
    ├─ js_appkey String 急速扫码appkey
    ├─ js_appsecret String 急速扫码appsecret
    ├─ print_type Number 快递单打印方式
    ├─ kdniao_printer String 快递单打印机
    ├─ review_status Number 审核状态
    ├─ review_content String 审核内容
    ├─ self_run String
    collect_count Number
    integral_money String
    goods_extend List[]
    ├─ extend_id Number 拓展id
    ├─ goods_id Number 商品id
    ├─ is_reality Number 是否正品
    ├─ is_return Number 是否支持包退
    ├─ is_fast Number 是否闪电送货
    ├─ width String 宽度
    ├─ height String 高度
    ├─ depth String 深度
    ├─ origincountry String 原始国家
    ├─ originplace String 原始位置
    ├─ assemblycountry String 组装国家
    ├─ barcodetype String 条码类型
    ├─ catena String 产品系列
    ├─ isbasicunit String 基本单位
    ├─ packagetype String 打包类型
    ├─ grossweight String 总重量
    ├─ netweight String 净重
    ├─ netcontent String 净含量
    ├─ licensenum String 许可证号
    ├─ healthpermitnum String 健康证号

    备注:

    • 更多返回错误代码请看首页的错误代码描述
    1. 本站所有资源来源于用户上传和网络,因此不包含技术服务请大家谅解!如有侵权请邮件联系客服!3165260857@qq.com
    2. 本站不保证所提供下载的资源的准确性、安全性和完整性,资源仅供下载学习之用!如有链接无法下载、失效或广告,请联系客服处理,有奖励!
    3. 您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容资源!如用于商业或者非法用途,与本站无关,一切后果请用户自负!
    4. 如果您也有好的资源或教程,您可以投稿发布,成功分享后有站币奖励和额外收入!


    三优资源网 » 积分商城 exchange/detail 积分商品详情

    常见问题FAQ

    免费下载或者VIP会员专享资源能否直接商用?
    本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。
    提示下载完但解压或打开不了?
    最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。若排除这种情况,可在对应资源底部留言,或 联络我们.。
    找不到素材资源介绍文章里的示例图片?
    对于PPT,KEY,Mockups,APP,网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。
    三优资源网
    一个高级程序员模板开发平台

    发表评论

    • 231会员总数(位)
    • 1264资源总数(个)
    • 1本周发布(个)
    • 0 今日发布(个)
    • 1457稳定运行(天)

    提供最优质的资源集合

    立即查看 了解详情