接口文档

接口文档


小说角色点赞目录

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>小说角色点赞目录</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/author/api/novelRoleLikeDirectory</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;">page</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</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>数量</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ &amp;quot;code&amp;quot;: 200, &amp;quot;message&amp;quot;: &amp;quot;ok&amp;quot;, &amp;quot;data&amp;quot;: { &amp;quot;data&amp;quot;: [ { &amp;quot;novel_id&amp;quot;: 1463, &amp;quot;novel_name&amp;quot;: &amp;quot;回到民国当小编&amp;quot;, &amp;quot;notice_num&amp;quot;: 3, &amp;quot;role_list&amp;quot;: [ { &amp;quot;role_id&amp;quot;: 9, &amp;quot;title&amp;quot;: &amp;quot;角色1&amp;quot;, &amp;quot;attribute&amp;quot;: &amp;quot;男主&amp;quot;, &amp;quot;avatar&amp;quot;: &amp;quot;/novel_role/iOS_1692600915_87221B5B-7548-42EF-A951-1C9F4695627C.jpg&amp;quot;, &amp;quot;notice_num&amp;quot;: 1 }, { &amp;quot;role_id&amp;quot;: 10, &amp;quot;title&amp;quot;: &amp;quot;角色2&amp;quot;, &amp;quot;attribute&amp;quot;: &amp;quot;女主&amp;quot;, &amp;quot;avatar&amp;quot;: &amp;quot;/novel_role/iOS_1692600915_87221B5B-7548-42EF-A951-1C9F4695627C.jpg&amp;quot;, &amp;quot;notice_num&amp;quot;: 1 }, { &amp;quot;role_id&amp;quot;: 11, &amp;quot;title&amp;quot;: &amp;quot;角色3&amp;quot;, &amp;quot;attribute&amp;quot;: &amp;quot;男配&amp;quot;, &amp;quot;avatar&amp;quot;: &amp;quot;/novel_role/iOS_1692600915_87221B5B-7548-42EF-A951-1C9F4695627C.jpg&amp;quot;, &amp;quot;notice_num&amp;quot;: 1 }, { &amp;quot;role_id&amp;quot;: 12, &amp;quot;title&amp;quot;: &amp;quot;角色4&amp;quot;, &amp;quot;attribute&amp;quot;: &amp;quot;女配&amp;quot;, &amp;quot;avatar&amp;quot;: &amp;quot;/novel_role/iOS_1692600915_87221B5B-7548-42EF-A951-1C9F4695627C.jpg&amp;quot;, &amp;quot;notice_num&amp;quot;: 0 } ] } ], &amp;quot;total&amp;quot;: 1, &amp;quot;current_page&amp;quot;: 1, &amp;quot;per_page&amp;quot;: 10, &amp;quot;last_page&amp;quot;: 1 } }</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