🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
### 当前用户收藏过的商品列表 /** * 当前用户收藏过的商品列表 * @http_method get * @param $category_id 分类id * @param $order_type 1销量 2点击率 3价格 * @param $order 1 升序排列 其他值都为desc倒序排列 * @param $keywords 关键词 目前只对商品标题有效果 * @param $rows 条数 默认10条 * @author 韩文博 */ +++ get:/User/collectedGoods <<< success { "errcode": 0, "errmsg": "操作成功", "page_data": { "previous_cursor": 4, "next_cursor": 6, "total_page": 199, "total_number": 398, "current_page": 5, "page_rows": "2" }, "list": [ { "ws_distinct": "1004900", "id": 767, "goods_common_id": 100490, "title": "宝宝儿童婴幼儿定型防偏头矫正枕", "category_id": 361, "price": "156.00", "marketprice": "189.00", "storage": 1000001, "img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170217/34458148731594634458.jpg", "freight": "0.00", "salenum": -1, "color_id": 0, "evaluation_good_star": 5, "evaluation_count": 1, "images": [ ] }, { "ws_distinct": "1004890", "id": 766, "goods_common_id": 100489, "title": "竹炭亚麻草三层加厚床席", "category_id": 360, "price": "260.00", "marketprice": "360.00", "storage": 1000001, "img": "http://mojishop.img-cn-beijing.aliyuncs.com/mojishop/20170217/78963148731549778963.jpg", "freight": "0.00", "salenum": -1, "color_id": 0, "evaluation_good_star": 5, "evaluation_count": 0, "images": [ ] } ] } <<< error 这里填写错误的返回码 以此类推,每个状态使用 <<< 分割, 第一行添加状态名称 +++ ![](image/screenshot_1487762627418.png)