获取商品列表

简要描述
  • 获取未删除的商品列表
请求URL
  • http://localhost:32223/api/WxLive/GoodsGetStartList?pageIndex=0&pageSize=30&start=2
请求方式
  • POST
参数
参数名 必选 类型 说明
name string 商品名称
pageIndex int 页码
pageSize int 条数
start int 商品状态,0:未审核,1:审核中,2:审核通过,3审核失败,默认为0
返回示例
 {
    "success": true,
    "msg": "",
    "code": 200,
    "data": {
        "List": [
            {
                "GoodsId": 87,
                "ProductId": 1027279,
                "AuditId": 964308606,
                "CoverImgUrl": "hAM6PP3flwtN4kWxL0-2wGnxVDqvdl1x6xWk5w-KZAVxVAygGD8lUflFg-dMrv-O",
                "ImgUrl": "http://192.168.1.191:8082/Storage/Shop/1/Products/1027279/1_220.png",
                "Name": "测试商品益生菌",
                "PriceType": 1,
                "Price": 10.00,
                "Price2": 0.01,
                "audit_status": 2,
                "Url": "pages/productdetail/productdetail?id=1027279",
                "ReturnResult": null,
                "IsDelete": 0,
                "CreateTime": null,
                "UpdateTime": null,
                "ModifiedColumns": [],
                "EnableLazyLoad": true,
                "IgnoreReference": false
            },
            {
                "GoodsId": 86,
                "ProductId": 1027280,
                "AuditId": 964308605,
                "CoverImgUrl": "hAM6PP3flwtN4kWxL0-2wPQxablgND_eXFE2BI_OyVmdN7xwb3GN5UmyOIjSqaI6",
                "ImgUrl": "http://192.168.1.191:8082/Storage/Shop/1/Products/1027280/1_220.png",
                "Name": "测试商品牛奶粉",
                "PriceType": 1,
                "Price": 1.00,
                "Price2": 10.00,
                "audit_status": 2,
                "Url": "pages/productdetail/productdetail?id=1027280",
                "ReturnResult": null,
                "IsDelete": 0,
                "CreateTime": null,
                "UpdateTime": null,
                "ModifiedColumns": [],
                "EnableLazyLoad": true,
                "IgnoreReference": false
            }
        ],
        "Total": 2
    },
    "total": 0
}
返回参数说明
参数名 类型 说明
audit_status int 商品状态,0:未审核,1:审核中,2:审核通过,3审核失败
备注
  • 更多返回错误代码请看首页的错误代码描述