简要描述:

-课程供应链--商品详情

请求域名:

  • http://xx.com

请求URL:

goods.goods.get-goods-page

请求 参数::

参数名 是否必须 类型 说明
id int 商品详情

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "customer_service": {
            "cservice": "https://dev15.yunzmall.com/addons/yun_shop/?menu#/chatWindow/?groupId=12&employeeId=36&chatType=1&i=25",
            "service_QRcode": "https://ysm-1251768088.cos.ap-guangzhou.myqcloud.com/newimage/74577ec83596531b65a1370e3c506888.jpg",
            "service_mobile": "18026357601"
        },
        "plugin": {
            "course_supply": {
                "goods_id": 11238,
                "id": 1,
                "lecturer_id": 1,
                "chapter": [
                    {
                        "id": 1,
                        "chapter_id": "123485345345123123",
                        "chapter_count": "2",
						"deadline": '购买后365天有效',
                        "course_id": 1,
                        "name": "测试章节1",
                        "sort": 1,
                        "created_at": 0,
                        "updated_at": 0,
                        "section_count": "2",
                        "section": [
                            {
                                "id": 1,
                                "chapter_id": "1",
                                "section_id": "3333333",
                                "img": "http://img.com",
                                "name": "测试小节111",
                                "can_try": 1,
                                "try_time": 50,
                                "url": "",
                                "sort": 1,
                                "video_minute": 5,
                                "video_second": 60,
                                "created_at": 0,
                                "updated_at": 0
                            },
                            {
                                "id": 2,
                                "chapter_id": "1",
                                "section_id": "44",
                                "img": "http://img.com",
                                "name": "测试小节222",
                                "can_try": 1,
                                "try_time": 2147483647,
                                "url": "",
                                "sort": 1,
                                "video_minute": 1,
                                "video_second": 30,
                                "created_at": 0,
                                "updated_at": 0
                            }
                        ]
                    },
                    {
                        "id": 2,
                        "chapter_id": "123485345345123123236",
                        "course_id": 1,
                        "name": "测试章节2",
                        "sort": 2,
                        "created_at": 0,
                        "updated_at": 0,
                        "section": [
                            {
                                "id": 3,
                                "chapter_id": "2",
                                "section_id": "55",
                                "img": "http://img.com",
                                "name": "测试小节333",
                                "can_try": 1,
                                "try_time": 2147483647,
                                "url": "",
                                "sort": 1,
                                "video_minute": 1,
                                "video_second": 3,
                                "created_at": 0,
                                "updated_at": 0
                            },
                            {
                                "id": 4,
                                "chapter_id": "2",
                                "section_id": "66",
                                "img": "http://img.com",
                                "name": "测试小节444",
                                "can_try": 1,
                                "try_time": 2147483647,
                                "url": "",
                                "sort": 1,
                                "video_minute": 1,
                                "video_second": 3,
                                "created_at": 0,
                                "updated_at": 0
                            }
                        ]
                    }
                ],
                "lecturer": {
                    "lecturer_id": 1,
                    "name": "vcxwew",
                    "pic": "ewq",
                    "label": [
                        "6666uuuu"
                    ],
                    "introduce": "444"
                }
            },
            "label": [
                {
                    "label_id": 1,
                    "name": "123",
                    "pic": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/25/2021/05/cKrIDrriND3riWwWIuPdRnp33nZRn1.jpg",
                    "status": 1,
                    "desc": "",
                    "link": "",
                    "min_link": ""
                },
                {
                    "label_id": 2,
                    "name": "456",
                    "pic": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/25/2021/05/m090Hw0Jj5sEefwZbM55A9SAMEoM59.jpeg",
                    "status": 1,
                    "desc": "",
                    "link": "",
                    "min_link": ""
                }
            ],
            "lease_toy": {
                "is_lease": 0,
                "is_rights": 1,
                "immed_goods_id": 0
            },
            "love_shoppin_gift": "",
            "luck_draw": {
                "number": 0,
                "luck_img_url": ""
            },
            "member_price": {
                "is_open_micro": 1
            },
            "pack_fixed_price": [],
            "reserve_simple_goods": {
                "objs": [],
                "cservice": {
                    "cservice": "https://dev15.yunzmall.com/addons/yun_shop/?menu#/chatWindow/?groupId=12&employeeId=36&chatType=1&i=25",
                    "service_QRcode": "https://ysm-1251768088.cos.ap-guangzhou.myqcloud.com/newimage/74577ec83596531b65a1370e3c506888.jpg",
                    "service_mobile": "18026357601"
                },
                "store_info": {
                    "name": "测试店铺",
                    "full_address": "广东省 广州市 天河区 员村街道 广州市白云区机场路123号",
                    "lng": 113.26733,
                    "lat": 23.173470999999999
                }
            },
            "is_room": 1,
            "is_special": 0,
            "is_course": null,
            "yz_supply_cake": {
                "data": {
                    "yz_supply_cake_goods": null,
                    "rules_distribution": [],
                    "brand": null
                }
            }
        },
        "goods_type": "goods",
        "get_goods": {
            "id": 11238,
            "uniacid": 25,
            "brand_id": 0,
            "type": 1,
            "status": 1,
            "display_order": 0,
            "title": "测试课程111",
            "thumb": "https://ysm-1251768088.cos.ap-guangzhou.myqcloud.com/sadfasf",
            "thumb_url": null,
            "sku": "",
            "description": "fewq",
            "content": "fewq",
            "goods_sn": "",
            "product_sn": "",
            "market_price": "120.00",
            "price": "120.00",
            "stock": 9996,
            "show_sales": 0,
            "weight": "0.00",
            "has_option": 1,
            "is_new": 0,
            "is_hot": 0,
            "is_discount": 0,
            "is_recommand": 0,
            "is_comment": 0,
            "comment_num": 0,
            "is_plugin": 0,
            "plugin_id": 9999,
            "virtual_sales": 3,
            "no_refund": 0,
            "need_address": 0,
            "type2": 1,
            "old_id": null,
            "volume": null,
            "alias": "",
            "is_hide": 1,
            "min_price": "1.20",
            "max_price": "1.20",
            "hide_goods_sales": 0,
            "hide_goods_sales_alone": 0,
            "vip_price_show": "84.00",
            "is_added": "1",
            "show_push": [],
            "get_comment": [],
            "favorable_rate": "100%",
            "min_buy_num": 1,
            "goods_video": "",
            "video_image": "",
            "show_stock": 9996,
            "is_member_enter": 1,
            "detail_show": 0,
            "is_month_sales": 0,
            "is_price_desc": 1,
            "price_desc_title": "价格说明",
            "explain": "<p>1.&nbsp; 商品的专柜价、吊牌价、正品零售价、厂商指导价或该商品的曾经展示过的销售价等,并非原价,仅供参考。<br />2.&nbsp; 商品的实时标价,不因表述的差异改变性质。具体成交价格根据商品参加活动,或会员使用优惠券、积分等发生变化,最终以订<br />单结算页价格为准。<br />商家详情页(含主图)以图片或文字形式标注的一口价、促销价、优惠价等价格可能是在使用优惠券、满减或特定优惠活动和<br />时段等情形下的价格,具体请以结算页面的标价、优惠条件或活动规则为准。<br />3.&nbsp; 此说明仅当出现价格比较时有效,具体请参见《淘宝价格发布规范》。若商家单独对划线价格进行说明的,以商家的表述为准。</p>",
            "hide_total_sales": 0,
            "is_order_detail_comment_show": 1,
            "show_time_word": "",
            "availability": 1,
            "coupon": null,
            "spec_info": [],
            "status_name": "上架",
            "vip_price": "0.84",
            "vip_next_price": "0.72",
            "price_level": "1",
            "is_open_micro": 1,
            "has_many_params": [],
            "has_many_specs": [
                {
                    "id": 10936,
                    "goods_id": 11238,
                    "title": "规格",
                    "description": null,
                    "specitem": [
                        {
                            "id": 24952,
                            "title": "海鲜港3998型-盛世祥和",
                            "specid": 10936,
                            "thumb": ""
                        }
                    ]
                }
            ],
            "has_many_options": [
                {
                    "id": 25779,
                    "goods_id": 11238,
                    "title": "测试课程111",
                    "thumb": "",
                    "product_price": "1.20",
                    "cost_price": "1.00",
                    "market_price": "1.20",
                    "stock": 9996,
                    "specs": "24952",
                    "weight": "0.00",
                    "points": "",
                    "goods": {
                        "id": 11238,
                        "uniacid": 25,
                        "brand_id": 0,
                        "type": 1,
                        "status": 1,
                        "display_order": 0,
                        "title": "测试课程111",
                        "thumb": "sadfasf",
                        "thumb_url": "N;",
                        "sku": "",
                        "goods_sn": "",
                        "product_sn": "",
                        "market_price": "120.00",
                        "price": "120.00",
                        "cost_price": "100.00",
                        "stock": 9996,
                        "reduce_stock_method": 0,
                        "show_sales": 0,
                        "real_sales": 0,
                        "weight": "0.00",
                        "has_option": 1,
                        "is_new": 0,
                        "is_hot": 0,
                        "is_discount": 0,
                        "is_recommand": 0,
                        "is_comment": 0,
                        "is_deleted": 0,
                        "created_at": "2023-03-14 16:07:18",
                        "deleted_at": null,
                        "updated_at": "2023-03-14 16:07:18",
                        "comment_num": 0,
                        "is_plugin": 0,
                        "plugin_id": 9999,
                        "virtual_sales": 3,
                        "no_refund": 0,
                        "need_address": 0,
                        "type2": 1,
                        "old_id": null,
                        "volume": null,
                        "alias": "",
                        "is_hide": 1,
                        "min_price": "1.20",
                        "max_price": "1.20",
                        "hide_goods_sales": 0,
                        "hide_goods_sales_alone": 0,
                        "vip_price": "84.00",
                        "next_level_price": "72.00",
                        "has_many_goods_discount": [],
                        "has_many_options": [
                            {
                                "id": 25779,
                                "uniacid": 25,
                                "goods_id": 11238,
                                "title": "测试课程111",
                                "thumb": null,
                                "product_price": "1.20",
                                "market_price": "1.20",
                                "cost_price": "1.00",
                                "stock": 9996,
                                "weight": "0.00",
                                "display_order": 0,
                                "specs": "24952",
                                "skuId": "",
                                "goods_sn": "",
                                "product_sn": "",
                                "virtual": 0,
                                "red_price": "",
                                "volume": null
                            }
                        ]
                    }
                }
            ],
            "has_one_brand": null,
            "has_one_share": {
                "need_follow": 1,
                "share_title": "",
                "share_thumb": "",
                "share_desc": ""
            },
            "has_one_goods_dispatch": {
                "id": 11798,
                "goods_id": 11238,
                "dispatch_type": 1,
                "dispatch_price": "0.00",
                "dispatch_id": 0,
                "is_cod": 1,
                "created_at": "2023-03-14 16:07:18",
                "updated_at": "2023-03-14 16:07:18",
                "deleted_at": null,
                "dispatch_type_ids": "1",
                "abbreviation": null
            },
            "has_one_privilege": null,
            "has_one_sale": {
                "id": 11174,
                "goods_id": 11238,
                "max_balance_deduct": "",
                "is_sendfree": 0,
                "ed_num": "",
                "ed_money": "",
                "ed_areas": "",
                "ed_areaids": null,
                "bonus": 0,
                "max_point_deduct": "",
                "point": "",
                "ed_full": "0.00",
                "ed_reduction": "0.00",
                "is_push": 0,
                "push_goods_ids": "",
                "award_balance": "0",
                "min_point_deduct": "",
                "point_type": 0,
                "max_once_point": "0",
                "created_at": null,
                "updated_at": null,
                "all_point_deduct": "0.00",
                "has_all_point_deduct": 0,
                "balance_deduct": 1,
                "pay_reward_balance": "0",
                "min_balance_deduct": "",
                "first_parent_point": null,
                "second_parent_point": null,
                "point_deduct_type": 0
            },
            "has_one_goods_coupon": null,
            "has_one_invite_page": null,
            "has_one_goods_limit_buy": null,
            "has_one_goods_video": null,
            "has_one_goods_advertising": null,
            "has_many_discount": [],
            "has_many_search_filter": [],
            "has_many_goods_discount": [],
            "member_discount": {
                "level_name": "等级三",
                "discount_value": "0.84",
                "discount": "1",
                "next_level_price": "0.72",
                "next_level_name": "",
                "level_type": "2",
                "display_page": "1"
            },
            "goods_sale": {
                "sale_count": 3,
                "first_strip_key": {
                    "name": "积分456",
                    "key": "point",
                    "type": "array",
                    "value": [
                        "购买赠送50积分456",
                        "最高抵扣100%",
                        "最少抵扣5%"
                    ],
                    "points": ""
                },
                "sale": [
                    {
                        "name": "积分456",
                        "key": "point",
                        "type": "array",
                        "value": [
                            "购买赠送50积分456",
                            "最高抵扣100%",
                            "最少抵扣5%"
                        ],
                        "points": ""
                    },
                    {
                        "name": "经销商提成d",
                        "key": "team-dividend",
                        "type": "array",
                        "value": [
                            "经销商提成d30%"
                        ]
                    },
                    {
                        "key": "commission",
                        "type": "array",
                        "weight": 1000,
                        "name": "佣金",
                        "desc": "最终获得佣金根据等级、独立佣金设置、下单实际支付金额等因数决定,请以最终到账佣金为准!",
                        "value": [
                            "一级佣金12.00元"
                        ]
                    }
                ]
            },
            "available_coupon": [
                {
                    "id": 43,
                    "name": "优惠卷32",
                    "coupon_method": 2,
                    "deduct": "0.00",
                    "discount": "4.80",
                    "enough": 0,
                    "use_type": 0,
                    "category_ids": [],
                    "categorynames": [],
                    "goods_ids": [],
                    "goods_names": [],
                    "time_limit": 0,
                    "time_days": 0,
                    "time_start": "2022-10-08 00:00:00",
                    "time_end": "2022-10-15 17:05:26",
                    "get_max": 1,
                    "total": 110,
                    "money": "0.00",
                    "credit": 0,
                    "updated_at": "2023-02-27 09:20:31",
                    "use_conditions": "N;",
                    "member_got_count": 5,
                    "coupon_type_name": "平台商品"
                },
                {
                    "id": 40,
                    "name": "会员领取优惠券",
                    "coupon_method": 1,
                    "deduct": "10.00",
                    "discount": "0.00",
                    "enough": 100,
                    "use_type": 0,
                    "category_ids": [],
                    "categorynames": [],
                    "goods_ids": [],
                    "goods_names": [],
                    "time_limit": 0,
                    "time_days": 0,
                    "time_start": "2022-04-27 00:00:00",
                    "time_end": "2022-05-04 15:35:57",
                    "get_max": -1,
                    "total": 100,
                    "money": "0.00",
                    "credit": 0,
                    "updated_at": "2022-04-27 15:36:35",
                    "use_conditions": "N;",
                    "member_got_count": 0,
                    "coupon_type_name": "平台商品"
                },
                {
                    "id": 34,
                    "name": "群拓客奖励-老会员",
                    "coupon_method": 1,
                    "deduct": "10.00",
                    "discount": "0.00",
                    "enough": 0,
                    "use_type": 0,
                    "category_ids": [],
                    "categorynames": [],
                    "goods_ids": [],
                    "goods_names": [],
                    "time_limit": 0,
                    "time_days": 0,
                    "time_start": "2021-12-15 00:00:00",
                    "time_end": "2021-12-22 16:56:57",
                    "get_max": 1,
                    "total": 500,
                    "money": "0.00",
                    "credit": 0,
                    "updated_at": "2021-12-15 16:59:39",
                    "use_conditions": "N;",
                    "member_got_count": 0,
                    "coupon_type_name": "平台商品"
                },
                {
                    "id": 19,
                    "name": "接龙奖励券1",
                    "coupon_method": 1,
                    "deduct": "5.00",
                    "discount": "0.00",
                    "enough": 0,
                    "use_type": 0,
                    "category_ids": [],
                    "categorynames": [],
                    "goods_ids": [],
                    "goods_names": [],
                    "time_limit": 0,
                    "time_days": 15,
                    "time_start": "2020-11-30 00:00:00",
                    "time_end": "2020-12-07 11:15:44",
                    "get_max": 5,
                    "total": 100,
                    "money": "0.00",
                    "credit": 0,
                    "updated_at": "2021-06-16 14:28:24",
                    "use_conditions": "N;",
                    "member_got_count": 0,
                    "coupon_type_name": "平台商品"
                },
                {
                    "id": 28,
                    "name": "消费奖励赠送1",
                    "coupon_method": 2,
                    "deduct": "0.00",
                    "discount": "5.00",
                    "enough": 1,
                    "use_type": 0,
                    "category_ids": [],
                    "categorynames": [],
                    "goods_ids": [],
                    "goods_names": [],
                    "time_limit": 0,
                    "time_days": 0,
                    "time_start": "2021-06-01 00:00:00",
                    "time_end": "2021-06-08 15:41:14",
                    "get_max": 100,
                    "total": 1000,
                    "money": "0.00",
                    "credit": 0,
                    "updated_at": "2021-06-01 15:41:44",
                    "use_conditions": "N;",
                    "member_got_count": 1,
                    "coupon_type_name": "平台商品"
                },
                {
                    "id": 27,
                    "name": "测试 优惠券1",
                    "coupon_method": 2,
                    "deduct": "0.00",
                    "discount": "5.00",
                    "enough": 1,
                    "use_type": 0,
                    "category_ids": [],
                    "categorynames": [],
                    "goods_ids": [],
                    "goods_names": [],
                    "time_limit": 0,
                    "time_days": 0,
                    "time_start": "2021-05-26 00:00:00",
                    "time_end": "2021-06-02 15:02:33",
                    "get_max": 100,
                    "total": 1000,
                    "money": "0.00",
                    "credit": 0,
                    "updated_at": "2021-05-26 15:03:05",
                    "use_conditions": "N;",
                    "member_got_count": 0,
                    "coupon_type_name": "平台商品"
                },
                {
                    "id": 26,
                    "name": "打折",
                    "coupon_method": 2,
                    "deduct": "0.00",
                    "discount": "3.00",
                    "enough": 1,
                    "use_type": 0,
                    "category_ids": [],
                    "categorynames": [],
                    "goods_ids": [],
                    "goods_names": [],
                    "time_limit": 0,
                    "time_days": 0,
                    "time_start": "2021-04-27 00:00:00",
                    "time_end": "2021-05-04 11:10:12",
                    "get_max": 10,
                    "total": 100,
                    "money": "0.00",
                    "credit": 0,
                    "updated_at": "2021-04-27 11:12:34",
                    "use_conditions": null,
                    "member_got_count": 0,
                    "coupon_type_name": "平台商品"
                },
                {
                    "id": 22,
                    "name": "发布优惠券测试",
                    "coupon_method": 1,
                    "deduct": "120.00",
                    "discount": "0.00",
                    "enough": 10,
                    "use_type": 0,
                    "category_ids": [],
                    "categorynames": [],
                    "goods_ids": [
                        246
                    ],
                    "goods_names": [
                        "自提点商品测试"
                    ],
                    "time_limit": 0,
                    "time_days": 10,
                    "time_start": "2020-12-14 00:00:00",
                    "time_end": "2020-12-21 16:43:56",
                    "get_max": 100,
                    "total": 100,
                    "money": "0.00",
                    "credit": 0,
                    "updated_at": "2020-12-31 16:00:56",
                    "use_conditions": null,
                    "member_got_count": 0,
                    "coupon_type_name": "平台商品"
                },
                {
                    "id": 23,
                    "name": "测试转增",
                    "coupon_method": 1,
                    "deduct": "2.00",
                    "discount": "0.00",
                    "enough": 10,
                    "use_type": 0,
                    "category_ids": [],
                    "categorynames": [],
                    "goods_ids": [],
                    "goods_names": [],
                    "time_limit": 0,
                    "time_days": 100,
                    "time_start": "2020-12-16 00:00:00",
                    "time_end": "2020-12-23 15:51:20",
                    "get_max": 50,
                    "total": -1,
                    "money": "0.00",
                    "credit": 0,
                    "updated_at": "2020-12-16 15:54:48",
                    "use_conditions": null,
                    "member_got_count": 0,
                    "coupon_type_name": "平台商品"
                }
            ]
        },
        "is_favorite": {
            "status": 0,
            "message": "商品未收藏"
        }
    }
}

返回参数data.plugin.course_supply说明:

参数名 类型 说明
goods_id int 商品id
sale_mode int 销售模式 1 无限期 2 有限期
time_limit int 限制天数 当sale_mode为2时该字段有效
deadline string 有效期字符串 已购买没限制返回空 已购买有限制返回截止时间 没购买有限制显示购买后xx天有效 没购买没限制显示购买后永久有效
chapter array 课程目录
lecturer object 讲师信息
section_count int 小节数
chapter_count int 章节数
is_buy int 是否已购买 0 否 1是

返回参数data.plugin.course_supply.chapter说明:

参数名 类型 说明
chapter_id string 章节id(获取播放链接用)
name string 章节名称
section array 小节信息

返回参数data.plugin.course_supply.chapter.section说明:

参数名 类型 说明
chapter_id string 章节id(获取播放链接用)
section_id string 小节id(获取播放链接用)
name string 小节名称
img string 小节封面
video_minute int 视频分钟数
video_second int 视频秒数
can_try int 能否试看 0 否 1是
try_time int 试看秒数

返回参数data.plugin.course_supply.lecturer:

参数名 类型 说明
lecturer_id int 讲师id
name string 讲师名称
pic string 讲师图片
label array 讲师标签
introduce string 讲师介绍