直播间添加商品列表

简要描述
  • 直播间添加商品列表
请求URL
  • http://localhost:32223/api/WxLive/GetRoomProductList?pageIndex=0&pageSize=10&roomid=26
请求方式
  • Get
参数
参数名 必选 类型 说明
roomid int 直播间id
name string 商品名称,默认为空
pageSize int 每页显示条数,,默认为10
pageIndex int 页码,默认为0
返回示例
{
    "Data": [
        {
            "GoodsId": 73,
            "ProductId": 1027278,
            "AuditId": 964305798,
            "CoverImgUrl": "paWPvKUx7Ch4Enzhjd17N77Gsnx5VAYYcow9dAcDrwFn0Vu_6PnuBFOu51egIu6p",
            "ImgUrl": "http://8.134.120.26:8013/Storage/Shop/1/Products/1027278/1_220.png",
            "Name": "测试商品",
            "PriceType": 1,
            "Price": 1.00,
            "Price2": 10.00,
            "Url": "pages/productdetail/productdetail?id=1027278",
            "ReturnResult": null,
            "IsDelete": 0,
            "CreateTime": "2021-11-02T14:55:14",
            "UpdateTime": null,
            "ModifiedColumns": [],
            "EnableLazyLoad": true,
            "IgnoreReference": false
        },
        {
            "GoodsId": 72,
            "ProductId": 1027280,
            "AuditId": 964305797,
            "CoverImgUrl": "paWPvKUx7Ch4Enzhjd17N65yhRp3kzXTG8UzwbTMWZ1SheOzwImKSwWG5rELcr-u",
            "ImgUrl": "http://8.134.120.26:8013/Storage/Shop/1/Products/1027280/1_220.png",
            "Name": "测试商品刀具",
            "PriceType": 1,
            "Price": 3.00,
            "Price2": 2.00,
            "Url": "pages/productdetail/productdetail?id=1027280",
            "ReturnResult": null,
            "IsDelete": 0,
            "CreateTime": "2021-11-02T14:55:12",
            "UpdateTime": null,
            "ModifiedColumns": [],
            "EnableLazyLoad": true,
            "IgnoreReference": false
        },
        {
            "GoodsId": 71,
            "ProductId": 1027279,
            "AuditId": 964305796,
            "CoverImgUrl": "paWPvKUx7Ch4Enzhjd17N8mHR49jaRnImbirW6pEzxqGYxFt9eQr2Iaac4FRDRA-",
            "ImgUrl": "http://8.134.120.26:8013/Storage/Shop/1/Products/1027279/1_220.png",
            "Name": "测试商品保健",
            "PriceType": 1,
            "Price": 10.00,
            "Price2": 1.00,
            "Url": "pages/productdetail/productdetail?id=1027279",
            "ReturnResult": null,
            "IsDelete": 0,
            "CreateTime": "2021-11-02T14:55:11",
            "UpdateTime": null,
            "ModifiedColumns": [],
            "EnableLazyLoad": true,
            "IgnoreReference": false
        }
    ],
    "Total": 9
}
返回参数说明
参数名 类型 说明
groupid int 用户组id,1:超级管理员;2:普通用户
备注
  • 更多返回错误代码请看首页的错误代码描述