ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# 5.16商品列表 **商品列表** ~~~[api] get:/api/merchant/goodsList *string:token=默认值#登录令牌 *storeId#门店id cid#分类id barCode#商品条码 name#商品名称(精准查询) status#商品状态.1-在售 2-下架 3-删除 stock#库存数量,为0则售空 sortMethod=ASC#排序方式(asc-顺序排序;desc-倒序排序) <<< success { "status": 1, "message": "数据返回成功", "order_data": { "分类二": 2, //分类数量 "分类一": 2, // "sold_out_num": 0, //售空数量 "sold_off_num": 3, //下架数量 "solding_num": 1, //在售数量 "no_image_num": 0 //无图数量 }, "data": [     { "id": 1, "pid": 0, "store_id": "201999124846160576", "name": "分类一", "status": 1, "sort": 99, "created_at": "2020-09-03 10:42:22", "updated_at": "-0001-11-30 00:00:00", "goods_list": [             { "id": 3, "store_id": "201999124846160576", "cid": 1, "c_name": "分类一", "bar_code": "", "name": "商品名称test222", "price": "19.99", "main_image": "https://www.yunsoyi.cn/upload/images/151956614301587091303.jpg", "sub_images": [ "http://www.yunsoyi.cn/upload/images/151956614301597905396.jpg", "https://www.yunsoyi.cn/upload/images/151956614301587091303.jpg" ], "detail": "商品详情", "subtitle": "商品副标题", "tag_ids": [ "商品标签一", "商品标签二"                     ], "standard_ids":[ "商品标准一", "商品标准二", "商品标准三"                     ], "attribute_ids": [ "商品属性一", "商品属性二", "商品属性三"                     ], "unit": "份", "is_recommend": 0, "stock": 500, "status": 2, "sort": 99, "created_at": "2020-09-04 15:44:38", "updated_at": "2020-09-03 11:18:58"                 },                 ……             ]         }     ] } <<< error { "status": -1, "message": "错误信息", "order_data": [], "data": [] } ~~~