多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**简要描述:** - 分销商品详情 **请求URL:** - `/adminapi/distribution.distribution_goods/detail` **请求方式:** - GET **参数:** |参数名 |必选 |类型 |说明 | | ------ | ------ | ------ |------ | |id|是 |integer |商品id | ``` { "code": 1, "show": 0, "msg": "", "data": { "goods_id": 24, "code": "SP0000000002", "name": "小米10青春版", "image": "https://img0.baidu.com/it/u=2635130093,4202492912&fm=26&fmt=auto&gp=0.jpg", "is_distribution": 0, "rule": 2, "ratio_data": [ { "id": 1, "name_desc": "默认等级(默认等级)", "is_default": 1, "items": [ { "id": 24, "code": "SP0000000002", "name": "小米10青春版", "image": "https://img0.baidu.com/it/u=2635130093,4202492912&fm=26&fmt=auto&gp=0.jpg", "goods_id": 24, "item_id": 1, "level_id": 1, "self_ratio": "10", "first_ratio": "10", "second_ratio": "10", "is_distribution": 0, "rule": 2, "spec_value_str": "红色,L码", "sell_price": "100.00" }, { "id": 24, "code": "SP0000000002", "name": "小米10青春版", "image": "https://img0.baidu.com/it/u=2635130093,4202492912&fm=26&fmt=auto&gp=0.jpg", "goods_id": 24, "item_id": 2, "level_id": 1, "self_ratio": "20", "first_ratio": "20", "second_ratio": "20", "is_distribution": 0, "rule": 2, "spec_value_str": "红色,M码", "sell_price": "100.00" } ] }, { "id": 4, "name_desc": "黄金会员", "is_default": 0, "items": { "2": { "id": 24, "code": "SP0000000002", "name": "小米10青春版", "image": "https://img0.baidu.com/it/u=2635130093,4202492912&fm=26&fmt=auto&gp=0.jpg", "goods_id": 24, "item_id": 1, "level_id": 4, "self_ratio": "30", "first_ratio": "30", "second_ratio": "30", "is_distribution": 0, "rule": 2, "spec_value_str": "红色,L码", "sell_price": "100.00" } } } ] } } ``` **返回参数说明:** |参数名 |类型 |说明 | |:--| |goods_id|integer |商品id | |code|string |商品编号 | |name|string |商品名称 | |image|string |商品图片 | |is_distribution|integer |是否参与分销 0-否 1-是 | |rule|integer |佣金规则 1-默认根据分销会员等级分佣 2-单独设置 | |ratio_data|array |分佣数据 | |ratio_dataid|integer |分销会员等级id| |ratio_data.name_desc|string |分销会员等级名称| |ratio_data.is_default|integer |是否默认等级| |ratio_data.items|array |分佣明细| |items|array |分佣明细| |items.id|integer |商品id| |items.code|integer |商品编码| |items.name|string |商品名称| |items.image|string |商品图片| |items.goods_id|integer |商品id| |items.item_id|integer |商品规格id| |items.level_id|integer |分销会员等级id| |items.self_ratio|decimal |自购分佣比例| |items.first_ratio|decimal |一级分佣比例| |items.second_ratio|decimal |二级分佣比例| |items.is_distribution|integer |是否参与分销 0-否 1-是| |items.rule|integer |佣金规则| |items.spec_value_str|string |商品SKU名称| |items.sell_price|decimal |商品SKU单价|