洋Go

洋Go


直播间添加商品列表

<h5>简要描述</h5> <ul> <li>直播间添加商品列表</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://localhost:32223/api/WxLive/GetRoomProductList?pageIndex=0&amp;pageSize=10&amp;roomid=26</code></li> </ul> <h5>请求方式</h5> <ul> <li>Get </li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">roomid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>直播间id</td> </tr> <tr> <td style="text-align: left;">name</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>商品名称,默认为空</td> </tr> <tr> <td style="text-align: left;">pageSize</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>每页显示条数,,默认为10</td> </tr> <tr> <td style="text-align: left;">pageIndex</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>页码,默认为0</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "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 }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML