简要描述:
-首页点击更多的商品列表
请求域名:
- http://xx.com
请求URL:
plugin.pc-terminal-two.frontend.home.get-goods
请求参数说明:
limit_buy => 限时购区 video_demand => 课程学堂 promotion => 产品促销区 new_goods => 产品上新区 hot_goods => 热销产品区 recommend_goods => 为您推荐
参数名 | 类型 | 是否必需 | 说明 |
---|---|---|---|
goods_type | string | 是 | 商品类型 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"list": {
"current_page": 1,
"data": {
"0": {
"id": 130,
"title": "测试",
"thumb": "newimage/71dd0c4850e7e9e2a8daa3300103516a.jpg",
"market_price": "100.00",
"price": "0.00",
"cost_price": "1.00",
"stock": 123,
"real_sales": 0,
"show_sales": 0,
"virtual_sales": 1,
"has_option": 0,
"plugin_id": 57,
"vip_price": "0.00",
"next_level_price": "0.00",
"has_many_goods_discount": [
{
"id": 1563,
"goods_id": 130,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 0,
"discount_value": "",
"created_at": "2021-01-27 09:46:21",
"updated_at": "2021-01-27 09:46:21",
"deleted_at": null
},
{
"id": 1564,
"goods_id": 130,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 1,
"discount_value": "",
"created_at": "2021-01-27 09:46:21",
"updated_at": "2021-01-27 09:46:21",
"deleted_at": null
},
{
"id": 1565,
"goods_id": 130,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 2,
"discount_value": "",
"created_at": "2021-01-27 09:46:21",
"updated_at": "2021-01-27 09:46:21",
"deleted_at": null
}
]
},
"1": {
"id": 76,
"title": "希尔顿羽绒被 全棉磨毛面料 高端外贸出口产品 五星级酒店级别的白鹅",
"thumb": "images/1/2019/12/pc7lmRlHEp5l4M11957lPIYC1l1e11.jpg",
"market_price": "123.00",
"price": "123.00",
"cost_price": "123.00",
"stock": 122,
"real_sales": 1,
"show_sales": 1,
"virtual_sales": 123,
"has_option": 0,
"plugin_id": 0,
"vip_price": "123.00",
"next_level_price": "110.70",
"has_many_goods_discount": [
{
"id": 1090,
"goods_id": 76,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 0,
"discount_value": "",
"created_at": "2019-12-17 19:36:49",
"updated_at": "2019-12-17 19:36:49",
"deleted_at": null
},
{
"id": 1091,
"goods_id": 76,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 1,
"discount_value": "",
"created_at": "2019-12-17 19:36:49",
"updated_at": "2019-12-17 19:36:49",
"deleted_at": null
},
{
"id": 1092,
"goods_id": 76,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 2,
"discount_value": "",
"created_at": "2019-12-17 19:36:49",
"updated_at": "2019-12-17 19:36:49",
"deleted_at": null
}
]
},
"2": {
"id": 22,
"title": "测试3",
"thumb": "images/1/2019/04/kC95a1h4eEA8z9eHc5feFFE5aEA57c.jpg",
"market_price": "4000.00",
"price": "0.01",
"cost_price": "3.00",
"stock": 17,
"real_sales": 17,
"show_sales": 17,
"virtual_sales": 0,
"has_option": 0,
"plugin_id": 0,
"vip_price": "0.01",
"next_level_price": "0.01",
"has_many_goods_discount": [
{
"id": 479,
"goods_id": 22,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 0,
"discount_value": "",
"created_at": "2019-05-06 13:51:20",
"updated_at": "2019-05-06 13:51:20",
"deleted_at": null
},
{
"id": 480,
"goods_id": 22,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 1,
"discount_value": "",
"created_at": "2019-05-06 13:51:20",
"updated_at": "2019-05-06 13:51:20",
"deleted_at": null
}
]
},
"3": {
"id": 21,
"title": "测试2",
"thumb": "images/1/2019/04/kC95a1h4eEA8z9eHc5feFFE5aEA57c.jpg",
"market_price": "3000.00",
"price": "1500.00",
"cost_price": "3.00",
"stock": 34,
"real_sales": 0,
"show_sales": 0,
"virtual_sales": 0,
"has_option": 0,
"plugin_id": 0,
"vip_price": "1500.00",
"next_level_price": "1350.00",
"has_many_goods_discount": [
{
"id": 294,
"goods_id": 21,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 0,
"discount_value": "",
"created_at": "2019-04-22 10:17:48",
"updated_at": "2019-04-22 10:17:48",
"deleted_at": null
},
{
"id": 295,
"goods_id": 21,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 1,
"discount_value": "",
"created_at": "2019-04-22 10:17:48",
"updated_at": "2019-04-22 10:17:48",
"deleted_at": null
}
]
},
"4": {
"id": 20,
"title": "测试1",
"thumb": "images/1/2019/04/kC95a1h4eEA8z9eHc5feFFE5aEA57c.jpg",
"market_price": "2000.00",
"price": "1000.00",
"cost_price": "3.00",
"stock": 34,
"real_sales": 8,
"show_sales": 8,
"virtual_sales": 0,
"has_option": 1,
"plugin_id": 0,
"vip_price": "1000.00",
"next_level_price": "900.00",
"has_many_goods_discount": [
{
"id": 296,
"goods_id": 20,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 0,
"discount_value": "",
"created_at": "2019-04-22 10:18:04",
"updated_at": "2019-04-22 10:18:04",
"deleted_at": null
},
{
"id": 297,
"goods_id": 20,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 1,
"discount_value": "",
"created_at": "2019-04-22 10:18:04",
"updated_at": "2019-04-22 10:18:04",
"deleted_at": null
}
]
},
"5": {
"id": 17,
"title": "供应商",
"thumb": "images/1/2019/04/CKMtkg18KgmGA4kKa3PEX6D603ekDA.jpg",
"market_price": "360.00",
"price": "100.00",
"cost_price": "40.00",
"stock": 449,
"real_sales": 6,
"show_sales": 6,
"virtual_sales": 0,
"has_option": 0,
"plugin_id": 92,
"vip_price": "100.00",
"next_level_price": "90.00",
"has_many_goods_discount": [
{
"id": 276,
"goods_id": 17,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 0,
"discount_value": "",
"created_at": "2019-04-22 09:27:18",
"updated_at": "2019-04-22 09:27:18",
"deleted_at": null
},
{
"id": 277,
"goods_id": 17,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 1,
"discount_value": "",
"created_at": "2019-04-22 09:27:18",
"updated_at": "2019-04-22 09:27:18",
"deleted_at": null
}
]
},
"6": {
"id": 15,
"title": "招商等级",
"thumb": "images/1/2019/04/Fa7jRa3zZXwUazx7ZxK71c7MA6RPA1.png",
"market_price": "200.00",
"price": "100.00",
"cost_price": "30.00",
"stock": 259,
"real_sales": 6,
"show_sales": 6,
"virtual_sales": 0,
"has_option": 0,
"plugin_id": 0,
"vip_price": "100.00",
"next_level_price": "90.00",
"has_many_goods_discount": [
{
"id": 298,
"goods_id": 15,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 0,
"discount_value": "",
"created_at": "2019-04-22 10:18:19",
"updated_at": "2019-04-22 10:18:19",
"deleted_at": null
},
{
"id": 299,
"goods_id": 15,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 1,
"discount_value": "",
"created_at": "2019-04-22 10:18:19",
"updated_at": "2019-04-22 10:18:19",
"deleted_at": null
}
]
},
"7": {
"id": 14,
"title": "招商",
"thumb": "images/1/2019/04/B8v9VxJJDV8X00mVuVj9Vmumvv9CMl.jpg",
"market_price": "100.00",
"price": "50.00",
"cost_price": "20.00",
"stock": 517,
"real_sales": 9,
"show_sales": 9,
"virtual_sales": 0,
"has_option": 0,
"plugin_id": 0,
"vip_price": "50.00",
"next_level_price": "45.00",
"has_many_goods_discount": [
{
"id": 513,
"goods_id": 14,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 0,
"discount_value": "",
"created_at": "2019-05-07 14:19:38",
"updated_at": "2019-05-07 14:19:38",
"deleted_at": null
},
{
"id": 514,
"goods_id": 14,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 1,
"discount_value": "",
"created_at": "2019-05-07 14:19:38",
"updated_at": "2019-05-07 14:19:38",
"deleted_at": null
}
]
},
"8": {
"id": 13,
"title": "微店2",
"thumb": "images/1/2019/04/CKMtkg18KgmGA4kKa3PEX6D603ekDA.jpg",
"market_price": "200.00",
"price": "100.00",
"cost_price": "30.00",
"stock": 5468,
"real_sales": 10,
"show_sales": 10,
"virtual_sales": 1053,
"has_option": 0,
"plugin_id": 0,
"vip_price": "100.00",
"next_level_price": "90.00",
"has_many_goods_discount": [
{
"id": 302,
"goods_id": 13,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 0,
"discount_value": "",
"created_at": "2019-04-22 10:18:58",
"updated_at": "2019-04-22 10:18:58",
"deleted_at": null
},
{
"id": 303,
"goods_id": 13,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 1,
"discount_value": "",
"created_at": "2019-04-22 10:18:58",
"updated_at": "2019-04-22 10:18:58",
"deleted_at": null
}
]
},
"9": {
"id": 9,
"title": "测试商品2",
"thumb": "https://dev8.yunzshop.com/static/yunshop/goods/images/MeENCp0xX801Njdh8RNp130P8009c1.jpg",
"market_price": "120.00",
"price": "100.00",
"cost_price": "80.00",
"stock": 76,
"real_sales": 23,
"show_sales": 23,
"virtual_sales": 1,
"has_option": 0,
"plugin_id": 0,
"vip_price": "100.00",
"next_level_price": "90.00",
"has_many_goods_discount": [
{
"id": 770,
"goods_id": 9,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 0,
"discount_value": "",
"created_at": "2019-07-16 09:31:31",
"updated_at": "2019-07-16 09:31:31",
"deleted_at": null
},
{
"id": 771,
"goods_id": 9,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 1,
"discount_value": "",
"created_at": "2019-07-16 09:31:31",
"updated_at": "2019-07-16 09:31:31",
"deleted_at": null
},
{
"id": 772,
"goods_id": 9,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 2,
"discount_value": "",
"created_at": "2019-07-16 09:31:31",
"updated_at": "2019-07-16 09:31:31",
"deleted_at": null
}
]
},
"10": {
"id": 8,
"title": "会员测试",
"thumb": "images/1/2019/04/JYn1HVYG3qGvNzN1Vnq5NKIk21NiNN.jpg",
"market_price": "100.00",
"price": "50.00",
"cost_price": "20.00",
"stock": 449,
"real_sales": 51,
"show_sales": 51,
"virtual_sales": 0,
"has_option": 0,
"plugin_id": 0,
"vip_price": "50.00",
"next_level_price": "45.00",
"has_many_goods_discount": [
{
"id": 932,
"goods_id": 8,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 0,
"discount_value": "",
"created_at": "2019-12-16 09:33:20",
"updated_at": "2019-12-16 09:33:20",
"deleted_at": null
},
{
"id": 933,
"goods_id": 8,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 1,
"discount_value": "",
"created_at": "2019-12-16 09:33:20",
"updated_at": "2019-12-16 09:33:20",
"deleted_at": null
},
{
"id": 934,
"goods_id": 8,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 2,
"discount_value": "",
"created_at": "2019-12-16 09:33:20",
"updated_at": "2019-12-16 09:33:20",
"deleted_at": null
}
]
},
"11": {
"id": 5,
"title": "芸众小程序",
"thumb": "images/1/2019/04/PM343Z2Ki9UzpyYufR8YyF919I33vm.jpg",
"market_price": "2500.00",
"price": "2000.00",
"cost_price": "1800.00",
"stock": 5670,
"real_sales": 19,
"show_sales": 19,
"virtual_sales": 0,
"has_option": 1,
"plugin_id": 0,
"vip_price": "2000.00",
"next_level_price": "1800.00",
"has_many_goods_discount": [
{
"id": 1770,
"goods_id": 5,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 0,
"discount_value": "",
"created_at": "2021-04-19 15:43:14",
"updated_at": "2021-04-19 15:43:14",
"deleted_at": null
},
{
"id": 1771,
"goods_id": 5,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 1,
"discount_value": "",
"created_at": "2021-04-19 15:43:14",
"updated_at": "2021-04-19 15:43:14",
"deleted_at": null
},
{
"id": 1772,
"goods_id": 5,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 2,
"discount_value": "",
"created_at": "2021-04-19 15:43:14",
"updated_at": "2021-04-19 15:43:14",
"deleted_at": null
}
]
},
"12": {
"id": 4,
"title": "卫目天下电子喷雾仪",
"thumb": "images/1/2020/01/Kb22YH4NYbh2uV2Be2BqVvCKHB4Bz2.png",
"market_price": "198.00",
"price": "59.00",
"cost_price": "12.00",
"stock": 999,
"real_sales": 10875,
"show_sales": 10875,
"virtual_sales": 200,
"has_option": 0,
"plugin_id": 0,
"vip_price": "59.00",
"next_level_price": "53.10",
"has_many_goods_discount": [
{
"id": 364,
"goods_id": 4,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 0,
"discount_value": "",
"created_at": "2019-04-22 14:00:14",
"updated_at": "2019-04-22 14:00:14",
"deleted_at": null
},
{
"id": 365,
"goods_id": 4,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 1,
"discount_value": "",
"created_at": "2019-04-22 14:00:14",
"updated_at": "2019-04-22 14:00:14",
"deleted_at": null
}
]
},
"13": {
"id": 3,
"title": "卫目天下护眼喷雾董事豪华礼包",
"thumb": "images/1/2020/02/EL9z4T271ClTJO6LU9ol2tCc2lCt13.jpg",
"market_price": "42000.00",
"price": "30000.00",
"cost_price": "10815.00",
"stock": 999,
"real_sales": 1617,
"show_sales": 1617,
"virtual_sales": 300,
"has_option": 0,
"plugin_id": 0,
"vip_price": "30000.00",
"next_level_price": "27000.00",
"has_many_goods_discount": [
{
"id": 290,
"goods_id": 3,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 0,
"discount_value": "",
"created_at": "2019-04-22 10:16:38",
"updated_at": "2019-04-22 10:16:38",
"deleted_at": null
},
{
"id": 291,
"goods_id": 3,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 1,
"discount_value": "",
"created_at": "2019-04-22 10:16:38",
"updated_at": "2019-04-22 10:16:38",
"deleted_at": null
}
]
},
"14": {
"id": 2,
"title": "卫目天下护眼喷雾总代礼包",
"thumb": "images/1/2020/02/In0DywOSf3FKWkF4nfkWSOyKm3iKRf.jpg",
"market_price": "8000.00",
"price": "6000.00",
"cost_price": "2060.00",
"stock": 999,
"real_sales": 1100,
"show_sales": 1100,
"virtual_sales": 500,
"has_option": 0,
"plugin_id": 0,
"vip_price": "6000.00",
"next_level_price": "5400.00",
"has_many_goods_discount": [
{
"id": 485,
"goods_id": 2,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 0,
"discount_value": "",
"created_at": "2019-05-06 14:40:05",
"updated_at": "2019-05-06 14:40:05",
"deleted_at": null
},
{
"id": 486,
"goods_id": 2,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 1,
"discount_value": "",
"created_at": "2019-05-06 14:40:05",
"updated_at": "2019-05-06 14:40:05",
"deleted_at": null
}
]
},
"15": {
"id": 1,
"title": "卫目天下护眼喷雾创客礼包",
"thumb": "images/1/2020/02/IRH7r73628mhszr3fqiQvmQw6HQB3r.jpg",
"market_price": "599.00",
"price": "400.00",
"cost_price": "103.00",
"stock": 999,
"real_sales": 48539,
"show_sales": 48539,
"virtual_sales": 1000,
"has_option": 0,
"plugin_id": 0,
"vip_price": "400.00",
"next_level_price": "360.00",
"has_many_goods_discount": [
{
"id": 512,
"goods_id": 1,
"level_discount_type": 1,
"discount_method": 1,
"level_id": 1,
"discount_value": "",
"created_at": "2019-05-07 14:11:11",
"updated_at": "2019-05-07 14:11:11",
"deleted_at": null
}
]
},
"thumb": ""
},
"first_page_url": "http://yzmall.com/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://yzmall.com/addons/yun_shop/api.php?page=1",
"next_page_url": {
"thumb": ""
},
"path": "http://yzmall.com/addons/yun_shop/api.php",
"per_page": 20,
"prev_page_url": {
"thumb": ""
},
"to": 16,
"total": 16
}
}
}
返回参数说明:pc_temp2_set(广告位数据)
参数名 | 类型 | 说明 | |
---|---|---|---|
right_advert_src | string | 顶部右侧广告 | |
advert_link | string | 顶部右侧广告跳转链接 | |
notice | string | 平台公告 | |
logo_src | string | 左侧logo图片 | |
nav_bottom | string | 底部导航 |
错误时返回:
{
"result": 0,
"msg": "请登录",
"data": []
}