企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 0元体验商品列表 >[danger]接口认证:**需要认证** ##### 响应说明 | 字段名 | 字段类型 | 字段说明 | | --- | --- | --- | | has_more | boolean | 是否还有下一页 | | list | array[goods(object)] | 商品列表 | | goods.id | int | 商品id | | goods.goods_name | string | 商品名 | | goods.goods_image | string | 商品图片 | | goods.unpublished_at | sting | 下架时间(结束时间),未设置的时候是"",设置的话是时间格式如"2022-01-31 10:00:38" | | goods.shop_price | int | 商品价格(分),有计算的需要的话可以用这个 | | goods.shop_price_foormat | string | 商品价格,已格式化好的,展示使用 | | goods.market_price | int | 市场价格(分),有计算的需要的话可以用这个 | | goods.market_price_foormat | string | 市场价格,已格式化好的,展示使用 | | goods.cost_price | int | 成本价格(分),有计算的需要的话可以用这个 | | goods.cost_price_foormat | string | 成本价格,已格式化好的,展示使用 | | goods.activity_info.activity_score | float | 收益积分(%) | | goods.activity_info.wholesale_limit | int | 批发限购 | | goods.activity_info.group_buying_limit| int | 团购限购 | | goods.activity_info.group_buying_scale| int | 团购参团人数 | | goods.activity_info.gold_vip_score| int | 养老积分抵扣 | | goods.activity_type | int | 商品活动类型,另外列出 | ##### 商品活动类型 ```php public const ACTIVITY_TYPE_TRANS = [ 0 => "普通", 1 => '活动', 2 => '批发', 3 => '团购', 4 => '黄金会员专区', 5 => '提现配额专区', 6 => '0元体验', ]; ``` ##### api说明 ~~~[api] get:/goods/list/free?page=1&per_page=5 int:page=1#页数 int:per_page=5#每页数量 <<< success { "code": 200, "msg": "成功", "data": { "has_more": false, "list": [ { "id": 24, "goods_name": "配额-多功能智能电饭煲", "goods_image": "http://noobcoder.oss-cn-hangzhou.aliyuncs.com/letao/20220110/goods_image-61db99eb122a0.jpg", "shop_price": 598000, "activity_type": 5, "market_price": 598000, "cost_price": 598000, "unpublished_at": "", "activity_info": { "activity_score": 20, "wholesale_limit": 0, "group_buying_limit": 0, "group_buying_scale": 0, "gold_vip_score": 0 }, "shop_price_format": "5980.00", "market_price_format": "5980.00", "cost_price_format": "5980.00" } ] } } ~~~