多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 获取商品记录 ~~~[api] post:branch.goods/gets *page=1#分页 <<< 操作成功 { "code": 1, "msg": "获取商品列表!", "data": { "total": 23, "per_page": 15, "current_page": "1", "last_page": 2, "data": [ { "id": 23, "sid": 23, "tagid": "1,2", "spec": [ { "name": "尺寸", "list": [ { "name": "160", "check": true }, { "name": "162", "check": false } ] }, { "name": "颜色", "list": [ { "name": "黑色", "check": false }, { "name": "白色", "check": true } ] } ], "logo": "商品LOGO", "image": "商品展示图片", "title": "商品标题", "content": "商品内容描述", "video": "商品展示视频", "desc": "商品描述", "sort": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-16 18:23:44", "specs": [ { "id": 39, "sid": 23, "gid": 23, "spec": "尺寸::160;;颜色::白色", "market": "0.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 0, "sale": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-16 18:23:44" } ] }, { "id": 22, "sid": 23, "tagid": "1,2", "spec": [ { "name": "尺寸", "list": [ { "name": "160", "check": true }, { "name": "162", "check": false } ] }, { "name": "颜色", "list": [ { "name": "黑色", "check": false }, { "name": "白色", "check": true } ] } ], "logo": "商品LOGO", "image": "商品展示图片", "title": "商品标题", "content": "商品内容描述", "video": "商品展示视频", "desc": "商品描述", "sort": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-16 18:23:02", "specs": [ { "id": 38, "sid": 23, "gid": 22, "spec": "尺寸::160;;颜色::白色", "market": "0.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 0, "sale": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-16 18:23:02" } ] }, { "id": 21, "sid": 23, "tagid": "1,2", "spec": null, "logo": "商品LOGO", "image": "商品展示图片", "title": "商品标题", "content": "商品内容描述", "video": "商品展示视频", "desc": "商品描述", "sort": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-16 18:21:40", "specs": [ { "id": 37, "sid": 23, "gid": 21, "spec": "尺寸::160;;颜色::白色", "market": "0.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 0, "sale": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-16 18:21:40" } ] }, { "id": 20, "sid": 20, "tagid": "商品分组", "spec": [ { "name": "尺寸", "list": [ { "name": "160/S", "check": true } ] } ], "logo": "商品LOGO", "image": "商品图片", "title": "商品标题", "content": "商品内容", "video": "商品展示视频", "desc": "商品描述", "sort": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-14 10:43:46", "specs": [ { "id": 36, "sid": 20, "gid": 20, "spec": "尺寸::160/S", "market": "100.00", "selling": "0.00", "l1_number": 100, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 100, "sale": 100, "status": 1, "is_deleted": 0, "create_at": "2018-08-14 10:43:47" } ] }, { "id": 19, "sid": 19, "tagid": "商品一", "spec": [ { "name": "尺寸", "list": [ { "size": "160/M", "check": true }, { "size": "165/S", "check": false }, { "size": "170/L", "check": true } ] }, { "name": "颜色", "list": [ { "color": "红色", "check": false }, { "color": "紫色", "check": true }, { "color": "绿色", "check": false }, { "color": "蓝色", "check": true } ] } ], "logo": "http://static.cdn.cuci.cc/763e6ffc46b846ca/2f6849d07f06e1e1.jpg", "image": "http://static.cdn.cuci.cc/763e6ffc46b846ca/2f6849d07f06e1e1.jpg", "title": "123", "content": "<p>Hello world!</p>\n\n<p>I&#39;m an instance of <a href=\"https://ckeditor.com\">CKEditor</a>.</p>", "video": "http://static.cdn.cuci.cc/b76181a7207e9822/6a5f3e1716422554.mp4", "desc": "678", "sort": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-10 18:19:12", "specs": [ { "id": 32, "sid": 19, "gid": 19, "spec": "", "market": "0.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 0, "sale": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-10 18:19:12" }, { "id": 33, "sid": 19, "gid": 19, "spec": "", "market": "0.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 0, "sale": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-10 18:19:12" }, { "id": 34, "sid": 19, "gid": 19, "spec": "", "market": "0.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "678.00", "stock": 678, "sale": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-10 18:19:12" }, { "id": 35, "sid": 19, "gid": 19, "spec": "", "market": "0.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 0, "sale": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-10 18:19:12" } ] }, { "id": 18, "sid": 19, "tagid": "", "spec": [ { "name": "尺寸", "list": [ { "size": "160/M", "check": true }, { "size": "165/S", "check": false }, { "size": "170/L", "check": true } ] }, { "name": "颜色", "list": [ { "color": "红色", "check": false }, { "color": "紫色", "check": true }, { "color": "绿色", "check": false }, { "color": "蓝色", "check": true } ] } ], "logo": "http://static.cdn.cuci.cc/763e6ffc46b846ca/2f6849d07f06e1e1.jpg", "image": "http://static.cdn.cuci.cc/763e6ffc46b846ca/2f6849d07f06e1e1.jpg", "title": "123", "content": "<p>Hello world!</p>\n\n<p>I&#39;m an instance of <a href=\"https://ckeditor.com\">CKEditor</a>.</p>", "video": "http://static.cdn.cuci.cc/b76181a7207e9822/6a5f3e1716422554.mp4", "desc": "678", "sort": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-10 18:16:53", "specs": [ { "id": 28, "sid": 19, "gid": 18, "spec": "", "market": "0.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 0, "sale": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-10 18:16:54" }, { "id": 29, "sid": 19, "gid": 18, "spec": "", "market": "0.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 0, "sale": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-10 18:16:54" }, { "id": 30, "sid": 19, "gid": 18, "spec": "", "market": "0.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 0, "sale": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-10 18:16:54" }, { "id": 31, "sid": 19, "gid": 18, "spec": "", "market": "0.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 0, "sale": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-10 18:16:54" } ] }, { "id": 17, "sid": 19, "tagid": "商品二", "spec": [ { "name": "尺寸", "list": [ { "size": "160/M", "check": true }, { "size": "165/S", "check": false }, { "size": "170/L", "check": true } ] }, { "name": "颜色", "list": [ { "color": "红色", "check": false }, { "color": "紫色", "check": true }, { "color": "绿色", "check": true }, { "color": "蓝色", "check": false } ] } ], "logo": "http://static.cdn.cuci.cc/763e6ffc46b846ca/2f6849d07f06e1e1.jpg", "image": "http://static.cdn.cuci.cc/763e6ffc46b846ca/2f6849d07f06e1e1.jpg", "title": "123", "content": "<p>Hello world!</p>\n\n<p>I&#39;m an instance of <a href=\"https://ckeditor.com\">CKEditor</a>.678</p>", "video": "http://static.cdn.cuci.cc/b76181a7207e9822/6a5f3e1716422554.mp4", "desc": "678", "sort": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-10 17:51:51", "specs": [ { "id": 24, "sid": 19, "gid": 17, "spec": "", "market": "0.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 0, "sale": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-10 17:51:52" }, { "id": 25, "sid": 19, "gid": 17, "spec": "", "market": "0.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 0, "sale": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-10 17:51:52" }, { "id": 26, "sid": 19, "gid": 17, "spec": "", "market": "0.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 0, "sale": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-10 17:51:52" }, { "id": 27, "sid": 19, "gid": 17, "spec": "", "market": "0.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 0, "sale": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-10 17:51:52" } ] }, { "id": 16, "sid": 19, "tagid": "商品分组", "spec": [ { "name": "尺寸", "list": [ { "name": "160/S", "check": true } ] } ], "logo": "商品LOGO", "image": "商品图片", "title": "商品标题", "content": "商品内容", "video": "商品展示视频", "desc": "商品描述", "sort": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-10 17:01:21", "specs": [ { "id": 22, "sid": 19, "gid": 16, "spec": "尺寸::160/S", "market": "100.00", "selling": "0.00", "l1_number": 100, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 100, "sale": 100, "status": 1, "is_deleted": 0, "create_at": "2018-08-10 17:01:21" }, { "id": 23, "sid": 19, "gid": 16, "spec": "尺寸::160/S", "market": "100.00", "selling": "0.00", "l1_number": 100, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 100, "sale": 100, "status": 1, "is_deleted": 0, "create_at": "2018-08-10 17:01:21" } ] }, { "id": 15, "sid": 19, "tagid": "商品分组", "spec": [ { "name": "尺寸", "list": [ { "name": "160/S", "check": true } ] } ], "logo": "商品LOGO", "image": "商品图片", "title": "商品标题", "content": "商品内容", "video": "商品展示视频", "desc": "商品描述", "sort": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-03 18:33:05", "specs": [ { "id": 20, "sid": 19, "gid": 15, "spec": "尺寸::160/S", "market": "100.00", "selling": "0.00", "l1_number": 100, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 100, "sale": 100, "status": 1, "is_deleted": 0, "create_at": "2018-08-03 18:33:05" }, { "id": 21, "sid": 19, "gid": 15, "spec": "尺寸::160/S", "market": "100.00", "selling": "0.00", "l1_number": 100, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 100, "sale": 100, "status": 1, "is_deleted": 0, "create_at": "2018-08-03 18:33:05" } ] }, { "id": 14, "sid": 19, "tagid": "商品分组", "spec": [ { "name": "尺寸", "list": [ { "name": "160/S", "check": true } ] } ], "logo": "商品LOGO", "image": "商品图片", "title": "商品标题", "content": "商品内容", "video": "商品展示视频", "desc": "商品描述", "sort": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-03 18:32:21", "specs": [ { "id": 19, "sid": 19, "gid": 14, "spec": "尺寸::160/S", "market": "100.00", "selling": "0.00", "l1_number": 100, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 100, "sale": 100, "status": 1, "is_deleted": 0, "create_at": "2018-08-03 18:32:21" } ] }, { "id": 13, "sid": 19, "tagid": "商品分组", "spec": null, "logo": "商品LOGO", "image": "商品图片", "title": "商品标题", "content": "商品内容", "video": "商品展示视频", "desc": "商品描述", "sort": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-03 18:09:53", "specs": [ { "id": 13, "sid": 19, "gid": 13, "spec": "尺寸::160/S", "market": "100.00", "selling": "0.00", "l1_number": 100, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 100, "sale": 100, "status": 1, "is_deleted": 0, "create_at": "2018-08-03 18:09:54" }, { "id": 14, "sid": 19, "gid": 13, "spec": "尺寸::170/L", "market": "100.00", "selling": "0.00", "l1_number": 0, "l1_price": "100.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 100, "sale": 100, "status": 1, "is_deleted": 0, "create_at": "2018-08-03 18:09:54" }, { "id": 15, "sid": 19, "gid": 13, "spec": "尺寸::160/S", "market": "100.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 100, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 100, "sale": 100, "status": 1, "is_deleted": 0, "create_at": "2018-08-03 18:09:54" }, { "id": 16, "sid": 19, "gid": 13, "spec": "尺寸::170/L", "market": "100.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 0, "l2_price": "100.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 100, "sale": 100, "status": 1, "is_deleted": 0, "create_at": "2018-08-03 18:09:54" }, { "id": 17, "sid": 19, "gid": 13, "spec": "尺寸::160/S", "market": "100.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 100, "l3_price": "0.00", "freight": "0.00", "stock": 100, "sale": 100, "status": 1, "is_deleted": 0, "create_at": "2018-08-03 18:09:54" }, { "id": 18, "sid": 19, "gid": 13, "spec": "尺寸::170/L", "market": "100.00", "selling": "0.00", "l1_number": 0, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "100.00", "freight": "0.00", "stock": 100, "sale": 100, "status": 1, "is_deleted": 0, "create_at": "2018-08-03 18:09:54" } ] }, { "id": 12, "sid": 19, "tagid": "商品分组", "spec": null, "logo": "商品LOGO", "image": "商品图片", "title": "商品标题", "content": "商品内容", "video": "商品展示视频", "desc": "商品描述", "sort": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-03 11:30:26", "specs": [ { "id": 12, "sid": 19, "gid": 12, "spec": "尺寸::160/S", "market": "100.00", "selling": "0.00", "l1_number": 100, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 100, "sale": 100, "status": 1, "is_deleted": 0, "create_at": "2018-08-03 11:30:26" } ] }, { "id": 11, "sid": 19, "tagid": "商品分组", "spec": [ { "name": "尺寸", "list": [ { "name": "160/S", "check": true } ] } ], "logo": "商品LOGO", "image": "商品图片", "title": "商品标题", "content": "商品内容", "video": "商品展示视频", "desc": "商品描述", "sort": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-03 11:04:28", "specs": [ { "id": 11, "sid": 19, "gid": 11, "spec": "尺寸::160/S", "market": "100.00", "selling": "0.00", "l1_number": 100, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 100, "sale": 100, "status": 1, "is_deleted": 0, "create_at": "2018-08-03 11:04:29" } ] }, { "id": 10, "sid": 19, "tagid": "商品分组", "spec": [ { "name": "尺寸", "list": [ { "name": "160/S", "check": true } ] } ], "logo": "商品LOGO", "image": "商品图片", "title": "商品标题", "content": "商品内容", "video": "商品展示视频", "desc": "商品描述", "sort": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-03 10:10:58", "specs": [ { "id": 10, "sid": 19, "gid": 10, "spec": "尺寸::160/S", "market": "100.00", "selling": "0.00", "l1_number": 100, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 100, "sale": 100, "status": 1, "is_deleted": 0, "create_at": "2018-08-03 10:10:58" } ] }, { "id": 9, "sid": 19, "tagid": "商品分组", "spec": [ { "name": "尺寸", "list": [ { "name": "160/S", "check": true } ] } ], "logo": "商品LOGO", "image": "商品图片", "title": "商品标题", "content": "<p>asd</p>", "video": "商品展示视频", "desc": "商品描述", "sort": 0, "status": 1, "is_deleted": 0, "create_at": "2018-08-01 16:47:42", "specs": [ { "id": 9, "sid": 19, "gid": 9, "spec": "尺寸::160/S", "market": "100.00", "selling": "0.00", "l1_number": 100, "l1_price": "0.00", "l2_number": 0, "l2_price": "0.00", "l3_number": 0, "l3_price": "0.00", "freight": "0.00", "stock": 100, "sale": 100, "status": 1, "is_deleted": 0, "create_at": "2018-08-01 16:47:42" } ] } ] } } <<< 操作失败 { "code": 0, "msg": "'获取商品信息失败,请稍候再试!'", "data": [] } ~~~