幸运拼购--商品列表 websocket测试 GET {{host}}/other/Home/youdou_shop?page=1&pagesize=10 响应参数 参数名 类型 描述 必填 code int 示例:200 必填 msg string 示例:执行成功 必填 data array 数据列表 必填 id int 商品id 必填 name string 商品名称 必填 youdou string 赠送的游豆数量 必填 img string 商品图片 必填 stock int 库存 必填 percentage 百分比 必填 new_price 现价 必填 old_price 原价 必填 说明 / 示例 { "code": 200, "msg": "执行成功", "data": [ { "id": 1, "img": "http://oss.31jpy.com/202101141302078150434a045cf441.jpg", "name": "会员卡", "new_price": "100.00", "youdou": 100, "old_price": "200.00", "stock": 999, "sales": 50, "delete_time": 0, "add_time": 0, "status": 1, "percentage": 5 }, { "id": 2, "img": "http://oss.31jpy.com/202101141302078150434a045cf441.jpg", "name": "会员卡2", "new_price": "200.00", "youdou": 200, "old_price": "300.00", "stock": 100, "sales": 2, "delete_time": 0, "add_time": 0, "status": 1, "percentage": 2 } ] }
{ "code": 200, "msg": "执行成功", "data": [ { "id": 1, "img": "http://oss.31jpy.com/202101141302078150434a045cf441.jpg", "name": "会员卡", "new_price": "100.00", "youdou": 100, "old_price": "200.00", "stock": 999, "sales": 50, "delete_time": 0, "add_time": 0, "status": 1, "percentage": 5 }, { "id": 2, "img": "http://oss.31jpy.com/202101141302078150434a045cf441.jpg", "name": "会员卡2", "new_price": "200.00", "youdou": 200, "old_price": "300.00", "stock": 100, "sales": 2, "delete_time": 0, "add_time": 0, "status": 1, "percentage": 2 } ] }