简要描述:
- 包邮分类-商品
请求域名:
- http://yunzshop.com
请求URL:
GET/app/index.php?i=1&c=entry&do=shop&m=yun_shop&goods.postage-included-category.goods
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
category_id | 是 | int | 包邮分类ID |
sort | 是 | string | 排序: id, price, discount |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"current_page": 1,
"data": [
{
"id": 133,
"uniacid": 1,
"brand_id": 1,
"type": 1,
"status": 1,
"display_order": 2,
"title": "测试2",
"thumb": "image/c74014b644375213938dbe5acca4b363.jpeg",
"thumb_url": null,
"sku": "个",
"description": "",
"content": "",
"goods_sn": "",
"product_sn": "",
"market_price": "1111.00",
"price": "111.00",
"cost_price": "0.00",
"stock": 1111,
"reduce_stock_method": 0,
"show_sales": 0,
"real_sales": 0,
"weight": "0.00",
"has_option": 0,
"is_new": 0,
"is_hot": 0,
"is_discount": 0,
"is_recommand": 0,
"is_comment": 0,
"is_deleted": 0,
"created_at": "2020-04-28 16:23:02",
"deleted_at": null,
"updated_at": "2020-10-21 13:43:50",
"comment_num": 0,
"is_plugin": 0,
"plugin_id": 0,
"virtual_sales": 0,
"no_refund": 0,
"need_address": 0,
"type2": 1,
"old_id": null,
"volume": null,
"goods_video": null,
"postage_included_category_id": 3,
"goods_id": 133,
"discount": "1000.00",
"status_name": "上架",
"pivot": {
"postage_included_category_id": 3,
"goods_id": 133
}
}
],
"first_page_url": "http://localhost:8788/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://localhost:8788/addons/yun_shop/api.php?page=1",
"next_page_url": null,
"path": "http://localhost:8788/addons/yun_shop/api.php",
"per_page": 15,
"prev_page_url": null,
"to": 9,
"total": 9
}
}