简要描述:
- 获取商品列表
请求URL:
plugin.circle.frontend.circle-invitation.search-goods
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
name | 否 | string | 商品名称 |
goods_id | 否 | int | 商品id |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"total": 410,
"per_page": 50,
"current_page": 1,
"last_page": 9,
"next_page_url": "http://www.yzdev8.com/addons/yun_shop/api.php?page=2",
"prev_page_url": null,
"from": 1,
"to": 50,
"data": [
{
"id": 2,
"title": "测试",
"thumb": "images/1/2019/04/tWMW4dK4vlxk2Zb29mGC922m82bwg2.jpg",
"market_price": "50.00",
"price": "128.00",
"real_sales": 172,
"virtual_sales": 99999,
"sku": "1",
"stock": 0,
"show_sales": 172,
"plugin_id": 0,
"status": 1,
"status_name": "上架"
},
{
"id": 4,
"title": "芸众区块链",
"thumb": "https://dev8.yunzshop.com/static/yunshop/goods/images/I1wkEWY4bGe44IIOmP4BZkkW4eIeGW.jpg",
"market_price": "200000.00",
"price": "200000.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 1236,
"show_sales": 0,
"plugin_id": 0,
"status": 0,
"status_name": "下架"
},
{
"id": 5,
"title": "芸众小程序",
"thumb": "images/1/2019/04/PM343Z2Ki9UzpyYufR8YyF919I33vm.jpg",
"market_price": "2500.00",
"price": "2000.00",
"real_sales": 19,
"virtual_sales": 0,
"sku": "个",
"stock": 5670,
"show_sales": 19,
"plugin_id": 0,
"status": 1,
"status_name": "上架"
},
{
"id": 6,
"title": "酒店管理",
"thumb": "https://dev8.yunzshop.com/storage/app/avatars/hotel_applyF5SFuYcSjh",
"market_price": "1.00",
"price": "1.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 9999999,
"show_sales": 0,
"plugin_id": 36,
"status": 1,
"status_name": "上架"
},
{
"id": 7,
"title": "酒店管理",
"thumb": "newimage/41ed7fd6ecbe83680bf90f4c2f141b0a.jpg",
"market_price": "1.00",
"price": "1.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 9999999,
"show_sales": 0,
"plugin_id": 36,
"status": 1,
"status_name": "上架"
},
{
"id": 8,
"title": "会员测试",
"thumb": "images/1/2019/04/JYn1HVYG3qGvNzN1Vnq5NKIk21NiNN.jpg",
"market_price": "100.00",
"price": "250.00",
"real_sales": 51,
"virtual_sales": 0,
"sku": "个",
"stock": 449,
"show_sales": 51,
"plugin_id": 0,
"status": 1,
"status_name": "上架"
},
{
"id": 9,
"title": "测试商品2",
"thumb": "https://dev8.yunzshop.com/static/yunshop/goods/images/MeENCp0xX801Njdh8RNp130P8009c1.jpg",
"market_price": "120.00",
"price": "100.00",
"real_sales": 23,
"virtual_sales": 1,
"sku": "件",
"stock": 76,
"show_sales": 23,
"plugin_id": 0,
"status": 1,
"status_name": "上架"
},
{
"id": 10,
"title": "叙旧通勤百搭两色休闲西装裤九分裤2018秋款/烟火尘埃/K4442",
"thumb": "//gd4.alicdn.com/imgextra/i3/50090008/O1CN011BvhcbLPmFPkKVN_!!50090008.jpg",
"market_price": "0.00",
"price": "155.00",
"real_sales": 12,
"virtual_sales": 0,
"sku": "件",
"stock": 508,
"show_sales": 12,
"plugin_id": 0,
"status": 0,
"status_name": "下架"
},
{
"id": 12,
"title": "微店1",
"thumb": "images/1/2020/08/QfFVd0ficF0EIoEvev8VFFFfR8CIY8.jpg",
"market_price": "100.00",
"price": "50.00",
"real_sales": 18,
"virtual_sales": 0,
"sku": "个",
"stock": 438,
"show_sales": 18,
"plugin_id": 0,
"status": 1,
"status_name": "上架"
},
{
"id": 13,
"title": "微店2",
"thumb": "images/1/2019/04/CKMtkg18KgmGA4kKa3PEX6D603ekDA.jpg",
"market_price": "200.00",
"price": "100.00",
"real_sales": 13,
"virtual_sales": 1053,
"sku": "个",
"stock": 5465,
"show_sales": 13,
"plugin_id": 0,
"status": 1,
"status_name": "上架"
},
{
"id": 14,
"title": "招商",
"thumb": "images/1/2019/04/B8v9VxJJDV8X00mVuVj9Vmumvv9CMl.jpg",
"market_price": "100.00",
"price": "50.00",
"real_sales": 9,
"virtual_sales": 0,
"sku": "个",
"stock": 517,
"show_sales": 9,
"plugin_id": 0,
"status": 1,
"status_name": "上架"
},
{
"id": 15,
"title": "招商等级",
"thumb": "images/1/2019/04/Fa7jRa3zZXwUazx7ZxK71c7MA6RPA1.png",
"market_price": "200.00",
"price": "100.00",
"real_sales": 6,
"virtual_sales": 0,
"sku": "个",
"stock": 259,
"show_sales": 6,
"plugin_id": 0,
"status": 1,
"status_name": "上架"
},
{
"id": 16,
"title": "测试供应商",
"thumb": "images/1/2019/04/kDy2v8y52o1O21ROa82ww2PO2rORZy.jpg",
"market_price": "200.00",
"price": "180.00",
"real_sales": 7,
"virtual_sales": 0,
"sku": "个",
"stock": 5249,
"show_sales": 7,
"plugin_id": 92,
"status": 0,
"status_name": "下架"
},
{
"id": 17,
"title": "供应商",
"thumb": "images/1/2021/01/H10pL22zNi2zOX7oY7n5XyNLx71L7p.png",
"market_price": "360.00",
"price": "100.00",
"real_sales": 6,
"virtual_sales": 0,
"sku": "个",
"stock": 449,
"show_sales": 6,
"plugin_id": 92,
"status": 1,
"status_name": "上架"
},
{
"id": 19,
"title": "叙旧通勤百搭两色休闲西装裤九分裤2018秋款/烟火尘埃/K4442",
"thumb": "//gd4.alicdn.com/imgextra/i3/50090008/O1CN011BvhcbLPmFPkKVN_!!50090008.jpg",
"market_price": "200.00",
"price": "100.00",
"real_sales": 26,
"virtual_sales": 0,
"sku": "件",
"stock": 494,
"show_sales": 26,
"plugin_id": 32,
"status": 1,
"status_name": "上架"
},
{
"id": 20,
"title": "测试1",
"thumb": "images/1/2019/04/kC95a1h4eEA8z9eHc5feFFE5aEA57c.jpg",
"market_price": "2000.00",
"price": "1000.00",
"real_sales": 8,
"virtual_sales": 0,
"sku": "个",
"stock": 34,
"show_sales": 8,
"plugin_id": 0,
"status": 1,
"status_name": "上架"
},
{
"id": 21,
"title": "测试2",
"thumb": "images/1/2019/04/kC95a1h4eEA8z9eHc5feFFE5aEA57c.jpg",
"market_price": "3000.00",
"price": "1500.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 34,
"show_sales": 0,
"plugin_id": 0,
"status": 1,
"status_name": "上架"
},
{
"id": 22,
"title": "测试3",
"thumb": "images/1/2019/04/kC95a1h4eEA8z9eHc5feFFE5aEA57c.jpg",
"market_price": "4000.00",
"price": "0.01",
"real_sales": 17,
"virtual_sales": 0,
"sku": "个",
"stock": 17,
"show_sales": 17,
"plugin_id": 0,
"status": 1,
"status_name": "上架"
},
{
"id": 23,
"title": "叙旧通勤百搭两色休闲西装裤九分裤2018秋款/烟火尘埃/K4442",
"thumb": "//gd4.alicdn.com/imgextra/i3/50090008/O1CN011BvhcbLPmFPkKVN_!!50090008.jpg",
"market_price": "80.00",
"price": "50.00",
"real_sales": 20,
"virtual_sales": 0,
"sku": "件",
"stock": 500,
"show_sales": 20,
"plugin_id": 32,
"status": 1,
"status_name": "上架"
},
{
"id": 24,
"title": "测试招商",
"thumb": "image/7b0e6463398f1890ac02074b5962655b.jpg",
"market_price": "60.00",
"price": "40.00",
"real_sales": 6,
"virtual_sales": 0,
"sku": "9999",
"stock": 99993,
"show_sales": 6,
"plugin_id": 92,
"status": 1,
"status_name": "上架"
},
{
"id": 26,
"title": "鞋子",
"thumb": "images/1/2019/04/Dmw50KFIME0mMjKdxRbfwpZXw0dkS0.png",
"market_price": "150.00",
"price": "100.00",
"real_sales": 1,
"virtual_sales": 30,
"sku": "双",
"stock": 29,
"show_sales": 1,
"plugin_id": 92,
"status": 1,
"status_name": "上架"
},
{
"id": 27,
"title": "雨衣",
"thumb": "image/905b2333cd6e6953d37c546e129b6fd1.png",
"market_price": "120.00",
"price": "150.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "件",
"stock": 27,
"show_sales": 0,
"plugin_id": 92,
"status": 1,
"status_name": "上架"
},
{
"id": 29,
"title": "手环",
"thumb": "image/65bc795aea1604f263c3fa6acdd2fad5.png",
"market_price": "180.00",
"price": "190.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 30,
"show_sales": 0,
"plugin_id": 32,
"status": 1,
"status_name": "上架"
},
{
"id": 31,
"title": "丽唧唧精品酒店 商品1",
"thumb": "images/1/2020/09/U0Gu03VUruEqzz3vSGU0s0ru50rops.jpg",
"market_price": "250.00",
"price": "200.00",
"real_sales": 12,
"virtual_sales": 0,
"sku": "间",
"stock": 116,
"show_sales": 12,
"plugin_id": 33,
"status": 1,
"status_name": "上架"
},
{
"id": 32,
"title": "丽唧唧精品酒店",
"thumb": "https://dev8.yunzshop.com/storage/app/avatars/hotel_apply80bSuBDg44",
"market_price": "1.00",
"price": "1.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 9999999,
"show_sales": 0,
"plugin_id": 36,
"status": 1,
"status_name": "上架"
},
{
"id": 33,
"title": "丽唧唧精品酒店",
"thumb": "https://dev8.yunzshop.com/storage/app/avatars/hotel_apply80bSuBDg44",
"market_price": "1.00",
"price": "1.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 9999999,
"show_sales": 0,
"plugin_id": 36,
"status": 1,
"status_name": "上架"
},
{
"id": 34,
"title": "丽唧唧精品酒店",
"thumb": "https://dev8.yunzshop.com/storage/app/avatars/hotel_apply80bSuBDg44",
"market_price": "1.00",
"price": "1.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 9999999,
"show_sales": 0,
"plugin_id": 36,
"status": 1,
"status_name": "上架"
},
{
"id": 35,
"title": "丽唧唧精品酒店",
"thumb": "https://dev8.yunzshop.com/storage/app/avatars/hotel_apply80bSuBDg44",
"market_price": "1.00",
"price": "1.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 9999999,
"show_sales": 0,
"plugin_id": 36,
"status": 1,
"status_name": "上架"
},
{
"id": 36,
"title": "丽唧唧精品酒店",
"thumb": "https://dev8.yunzshop.com/storage/app/avatars/hotel_apply80bSuBDg44",
"market_price": "1.00",
"price": "1.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 9999999,
"show_sales": 0,
"plugin_id": 36,
"status": 1,
"status_name": "上架"
},
{
"id": 37,
"title": "丽唧唧精品酒店",
"thumb": "https://dev8.yunzshop.com/storage/app/avatars/hotel_apply80bSuBDg44",
"market_price": "1.00",
"price": "1.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 9999999,
"show_sales": 0,
"plugin_id": 36,
"status": 1,
"status_name": "上架"
},
{
"id": 38,
"title": "丽唧唧精品酒店",
"thumb": "https://dev8.yunzshop.com/storage/app/avatars/hotel_apply80bSuBDg44",
"market_price": "1.00",
"price": "1.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 9999999,
"show_sales": 0,
"plugin_id": 36,
"status": 1,
"status_name": "上架"
},
{
"id": 39,
"title": "丽唧唧精品酒店",
"thumb": "https://dev8.yunzshop.com/storage/app/avatars/hotel_apply80bSuBDg44",
"market_price": "1.00",
"price": "1.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 9999999,
"show_sales": 0,
"plugin_id": 36,
"status": 1,
"status_name": "上架"
},
{
"id": 40,
"title": "丽唧唧精品酒店",
"thumb": "https://dev8.yunzshop.com/storage/app/avatars/hotel_apply80bSuBDg44",
"market_price": "1.00",
"price": "1.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 9999999,
"show_sales": 0,
"plugin_id": 36,
"status": 1,
"status_name": "上架"
},
{
"id": 41,
"title": "丽唧唧精品酒店",
"thumb": "https://dev8.yunzshop.com/storage/app/avatars/hotel_apply80bSuBDg44",
"market_price": "1.00",
"price": "1.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 9999999,
"show_sales": 0,
"plugin_id": 36,
"status": 1,
"status_name": "上架"
},
{
"id": 42,
"title": "丽唧唧精品酒店",
"thumb": "https://dev8.yunzshop.com/storage/app/avatars/hotel_apply80bSuBDg44",
"market_price": "1.00",
"price": "1.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 9999999,
"show_sales": 0,
"plugin_id": 36,
"status": 1,
"status_name": "上架"
},
{
"id": 43,
"title": "编号001丽唧唧精品酒店",
"thumb": "https://ysm-1251768088.cos.ap-guangzhou.myqcloud.com/images/1/2020/11/VEDjOj8hBQ8d2aec6EZB7dMo7D97mH.jpeg",
"market_price": "1.00",
"price": "1.00",
"real_sales": 1,
"virtual_sales": 0,
"sku": "个",
"stock": 9999999,
"show_sales": 1,
"plugin_id": 36,
"status": 1,
"status_name": "上架"
},
{
"id": 44,
"title": "丽唧唧门店",
"thumb": "image/290c293d82d1b8023de1e7e5454cfb72.png",
"market_price": "1512.00",
"price": "1620.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "间",
"stock": 2,
"show_sales": 0,
"plugin_id": 32,
"status": 1,
"status_name": "上架"
},
{
"id": 46,
"title": "测试供应商",
"thumb": "images/1/2020/09/AZZJGVzVJzEGJcGV3Pe35j33wOmVov.jpg",
"market_price": "200.00",
"price": "300.00",
"real_sales": 8,
"virtual_sales": 0,
"sku": "个",
"stock": 5248,
"show_sales": 8,
"plugin_id": 32,
"status": 1,
"status_name": "上架"
},
{
"id": 47,
"title": "租赁",
"thumb": "images/1/2019/04/rUULg99CrdmdeFdjMMLeMlGTge49Ee.jpg",
"market_price": "1000.00",
"price": "50.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 1256,
"show_sales": 0,
"plugin_id": 13,
"status": 1,
"status_name": "上架"
},
{
"id": 48,
"title": "租赁",
"thumb": "images/1/2019/04/rUULg99CrdmdeFdjMMLeMlGTge49Ee.jpg",
"market_price": "1000.00",
"price": "50.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 1523,
"show_sales": 0,
"plugin_id": 13,
"status": 1,
"status_name": "上架"
},
{
"id": 49,
"title": "积分活动",
"thumb": "images/1/2019/04/E1GSDplqTGo010wGQgqGGwQpnGdd0p.jpg",
"market_price": "100.00",
"price": "50.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 1256,
"show_sales": 0,
"plugin_id": 13,
"status": 1,
"status_name": "上架"
},
{
"id": 50,
"title": "123",
"thumb": "images/1/2019/04/rUULg99CrdmdeFdjMMLeMlGTge49Ee.jpg",
"market_price": "100.00",
"price": "52.00",
"real_sales": 6,
"virtual_sales": 0,
"sku": "各",
"stock": 1250,
"show_sales": 6,
"plugin_id": 13,
"status": 1,
"status_name": "上架"
},
{
"id": 51,
"title": "123",
"thumb": "images/1/2019/04/rUULg99CrdmdeFdjMMLeMlGTge49Ee.jpg",
"market_price": "100.00",
"price": "50.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "各",
"stock": 1232,
"show_sales": 0,
"plugin_id": 13,
"status": 1,
"status_name": "上架"
},
{
"id": 55,
"title": "推广员测试",
"thumb": "images/1/2019/04/ra3b56mVIZ560b7tNZT77I3b6v57i1.jpg",
"market_price": "10.00",
"price": "100.00",
"real_sales": 2,
"virtual_sales": 1,
"sku": "件",
"stock": 98,
"show_sales": 2,
"plugin_id": 0,
"status": 1,
"status_name": "上架"
},
{
"id": 57,
"title": "test",
"thumb": "image/70ecc90332dace72f66b6ee962c2f3d8.jpg",
"market_price": "15.00",
"price": "10.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 123123,
"show_sales": 0,
"plugin_id": 92,
"status": 1,
"status_name": "上架"
},
{
"id": 58,
"title": "测试新框架",
"thumb": "images/1/2019/04/PM343Z2Ki9UzpyYufR8YyF919I33vm.jpg",
"market_price": "0.01",
"price": "0.01",
"real_sales": 3,
"virtual_sales": 999,
"sku": "个",
"stock": 95006,
"show_sales": 3,
"plugin_id": 0,
"status": 1,
"status_name": "上架"
},
{
"id": 59,
"title": "测试新框架2",
"thumb": "images/1/2019/04/PM343Z2Ki9UzpyYufR8YyF919I33vm.jpg",
"market_price": "1.00",
"price": "20.00",
"real_sales": 0,
"virtual_sales": 9595,
"sku": "个",
"stock": 100,
"show_sales": 0,
"plugin_id": 0,
"status": 1,
"status_name": "上架"
},
{
"id": 62,
"title": "门店商品测试",
"thumb": "image/6d146bb544f48300e9a7234e2d63ae01.jpg",
"market_price": "15.00",
"price": "10.00",
"real_sales": 12,
"virtual_sales": 0,
"sku": "个",
"stock": 1219,
"show_sales": 12,
"plugin_id": 32,
"status": 1,
"status_name": "上架"
},
{
"id": 63,
"title": "14753",
"thumb": "image/a02b662c39528daa3e1e74a8c6ac79d2.jpg",
"market_price": "80.00",
"price": "50.00",
"real_sales": 0,
"virtual_sales": 0,
"sku": "个",
"stock": 55555,
"show_sales": 0,
"plugin_id": 92,
"status": 1,
"status_name": "上架"
},
{
"id": 64,
"title": "招商测试啊",
"thumb": "image/0c0cf1a46404a8aa8e3834bf96d2011e.jpg",
"market_price": "100.00",
"price": "100.00",
"real_sales": 1,
"virtual_sales": 0,
"sku": "无敌",
"stock": 99,
"show_sales": 1,
"plugin_id": 92,
"status": 1,
"status_name": "上架"
}
]
}
}
错误时返回:
{
"result": 0,
"msg": "error",
"data": []
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
title | number | 标题 |
content | string | 内容 |
img | string | 图片 |
store | string | 门店信息 |
goods | array | 商品信息 |
备注:
- 更多返回错误代码请看首页的错误代码描述