逛逛

逛逛App


获取板块类型或者类型区域

<p><strong>请求URL:</strong> </p> <ul> <li><code>/admin/get_section_type</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>GET </li> </ul> <p><strong>参数:</strong> </p> <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;">type_id</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>板块类型id</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code> { "code": 0, "msg": "返回成功", "time": 1586748671, "data": [ { "type_id": 1, "type_name": "1标题+2图片", "tips": "一个标题+两张图片" }, { "type_id": 2, "type_name": "2标题+图片", "tips": "两个标题+一个icon+图片" }, { "type_id": 3, "type_name": "单图", "tips": "只有一张图" } ] } { "code": 0, "msg": "返回成功", "time": 1586758617, "data": [ { "type_area_id": 1, "type_area_name": "左边区域", "tips": "", "title": [ { "name": "title", "validate": "require|chs" } ], "have_pic": 1 }, { "type_area_id": 2, "type_area_name": "右边区域", "tips": "", "title": [ { "name": "title", "validate": "require|chs" } ], "have_pic": 1 } ] }</code></pre>

页面列表

ITEM_HTML