🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
##商品列表 /** * 商品列表 * @http_method get * @param category_id 分类id * @param title 商品名称 * @param page 页数 * @param rows 条数 */ +++ get:/Admin/Goods/index <<< success { "code":0, "result":{ "total_number":21, "list":[ { "id":100754, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20171013/1507883107522206.jpg", "title":"孕婴推荐:晋皇羊肥小米孕婴卡", "state":1, "category_title":"线上卡券>二级>三级", "create_time":"2017-10-13 16:28:13", "total_sale_num":0, "total_storage":999, "comments":[ ] }, { "id":100753, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170929/1506677466921832.jpg", "title":"小米测试", "state":1, "category_title":"线上商品>二级>三级", "create_time":"2017-09-29 17:31:41", "total_sale_num":0, "total_storage":1000, "comments":[ ] }, { "id":100752, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170928/1506568151120557.jpg", "title":"晋皇羊肥小米:2年休耕基地米黄小米五谷杂粮", "state":1, "category_title":"线上商品>二级>三级", "create_time":"2017-09-28 11:10:41", "total_sale_num":2, "total_storage":9997, "comments":[ ] }, { "id":100751, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170928/1506565219241172.jpg", "title":"特价尝鲜:晋皇羊肥小米尝鲜卡", "state":1, "category_title":"线上卡券>二级>三级", "create_time":"2017-09-28 10:23:15", "total_sale_num":2, "total_storage":9997, "comments":[ ] }, { "id":100749, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170927/1506502396407543.jpg", "title":"晋皇羊肥小米企业定制10000斤以上生态黄小米", "state":1, "category_title":"线上卡券>二级>三级", "create_time":"2017-09-27 17:05:33", "total_sale_num":0, "total_storage":4999995, "comments":[ ] }, { "id":100748, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170927/1506501839903541.jpg", "title":"晋皇羊肥小米企业定制5001-10000斤生态黄小米", "state":1, "category_title":"线上卡券>二级>三级", "create_time":"2017-09-27 16:52:54", "total_sale_num":0, "total_storage":4999995, "comments":[ ] }, { "id":100747, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170927/1506501394228455.jpg", "title":"晋皇羊肥小米企业定制1000-5000斤生态黄小米", "state":1, "category_title":"线上卡券>二级>三级", "create_time":"2017-09-27 16:43:23", "total_sale_num":0, "total_storage":4999995, "comments":[ ] }, { "id":100746, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170927/1506500432540853.jpg", "title":"晋皇羊肥小米——私人订制挚爱卡", "state":1, "category_title":"线上卡券>二级>三级", "create_time":"2017-09-27 16:30:19", "total_sale_num":0, "total_storage":4995, "comments":[ ] }, { "id":100745, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170927/1506484873596363.jpg", "title":"晋皇羊肥小米——私人订制珍爱卡", "state":1, "category_title":"线上卡券>二级>三级", "create_time":"2017-09-27 12:05:18", "total_sale_num":0, "total_storage":4995, "comments":[ ] }, { "id":100744, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170927/1506484556519630.jpg", "title":"晋皇羊肥小米——私人订制衷爱卡", "state":1, "category_title":"线上卡券>二级>三级", "create_time":"2017-09-27 12:00:45", "total_sale_num":0, "total_storage":4995, "comments":[ ] }, { "id":100742, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506060028131640.jpg", "title":"测试商品", "state":0, "category_title":"线上商品>二级>三级", "create_time":"2017-09-22 14:01:26", "total_sale_num":57, "total_storage":13943, "comments":[ ] }, { "id":100741, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170921/1505961794932613.png", "title":"测试卡劵(请勿拍)", "state":1, "category_title":"线上卡券>二级>三级", "create_time":"2017-09-21 10:45:20", "total_sale_num":5, "total_storage":1995, "comments":[ ] }, { "id":100740, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170921/1505961333717046.png", "title":"测试商品(勿拍)", "state":1, "category_title":"线上商品>二级>三级", "create_time":"2017-09-21 10:36:21", "total_sale_num":44, "total_storage":56, "comments":[ ] }, { "id":100727, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506045631291979.jpg", "title":"火爆热销:晋皇羊肥小米黄小米生态小米五谷杂粮2016新小米(礼盒装)", "state":1, "category_title":"线上商品>二级>三级", "create_time":"2017-09-20 00:52:39", "total_sale_num":0, "total_storage":999, "comments":[ ] }, { "id":100726, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506045604359336.jpg", "title":"火爆热销:晋皇羊肥小米黄小米生态小米五谷杂粮2016新小米(礼盒装)", "state":1, "category_title":"线上商品>二级>三级", "create_time":"2017-09-20 00:49:53", "total_sale_num":2, "total_storage":997, "comments":[ ] }, { "id":100721, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506044945776938.jpg", "title":"晋皇羊肥小米:宝宝米黄小米五谷杂粮生态米", "state":1, "category_title":"线上商品>二级>三级", "create_time":"2017-09-11 14:35:07", "total_sale_num":19, "total_storage":980, "comments":[ ] }, { "id":100720, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506045356552943.jpg", "title":"晋皇羊肥小米:妈妈米黄小米五谷杂粮生态米", "state":1, "category_title":"线上商品>二级>三级", "create_time":"2017-09-11 14:33:07", "total_sale_num":5, "total_storage":994, "comments":[ ] }, { "id":100719, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506044871683973.jpg", "title":"晋皇羊肥小米:5年休耕基地米黄小米五谷杂粮生态米", "state":1, "category_title":"线上商品>二级>三级", "create_time":"2017-09-11 14:29:48", "total_sale_num":7, "total_storage":992, "comments":[ ] }, { "id":100716, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506043089665316.jpg", "title":"晋皇羊肥小米:3年休耕基地米黄小米五谷杂粮生态米", "state":1, "category_title":"线上商品>二级>三级", "create_time":"2017-09-11 14:24:07", "total_sale_num":5, "total_storage":994, "comments":[ ] }, { "id":100707, "img":"http://shengxing.oss-cn-beijing.aliyuncs.com/app/20170922/1506063237681467.jpg", "title":"测试-勿拍", "state":1, "category_title":"线上商品>二级>三级", "create_time":"2017-09-11 13:45:09", "total_sale_num":14, "total_storage":985, "comments":[ { "goods_common_id":100707, "id":986, "spec_name":"400g", "market_price":"68.00", "price":"48.00", "storage":985, "sale_num":14 } ] } ] }, "msg":"SUCCESS" } <<< error +++