资源一体化-用户端

资源一体化-用户端


获取版位内容列表接口

<p><strong>接口说明 </strong></p> <pre><code>请求接口: /cms/app/blockcontent/list 请求方式: GET 接口说明: 获取版位内容列表接口</code></pre> <p><strong>请求参数 </strong></p> <table> <thead> <tr> <th>参数名</th> <th>必选</th> <th>长度</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>blockKey</td> <td>是</td> <td>20</td> <td>string</td> <td>对应的版位key</td> </tr> </tbody> </table> <p><strong>返回参数</strong></p> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>code</td> <td>string</td> <td>状态值</td> </tr> <tr> <td>msg</td> <td>string</td> <td>返回消息</td> </tr> <tr> <td>data</td> <td>string</td> <td>返回的token</td> </tr> <tr> <td>name</td> <td>string</td> <td>标题</td> </tr> <tr> <td>picUrl</td> <td>string</td> <td>背景图</td> </tr> <tr> <td>icoUrl</td> <td>string</td> <td>图标图</td> </tr> <tr> <td>badge</td> <td>string</td> <td>版位中增加额外内容配置项(json存储)</td> </tr> <tr> <td>url</td> <td>string</td> <td>跳转地址</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code> { "code": "0000", "msg": "操作成功!", "data": [ { "id": 16, "name": "悦邻厨房", "picUrl": "https://joylink-crm.oss-cn-hangzhou.aliyuncs.com/1270267291241680896.jpg", "icoUrl": null, "status": 1, "sort": 8, "url": "'pages/kitchen/index'", "blockKey": "HOME_ICONS_1", "badge": null, "creator": "admin", "createTime": "2020-04-27 17:25:19", "modifier": "admin", "modifyTime": "2020-06-09 16:12:19", "publisher": "", "publishTime": "2020-04-20 17:25:14", "releaseStatus": 1, "description": null } ] } </code></pre> <p><strong>接口备注</strong></p> <ul> <li>HOME_SLIDER 首页轮播图</li> <li>HOME_SPECIAL 首页特惠专区</li> <li>GMALL_SLIDER 商场首页轮播图</li> <li>CMALL_SLIDER 社区服务首页轮播图</li> <li>HOME_ICONS_1(商场id) 首页按钮图标</li> </ul>

页面列表

ITEM_HTML