接口文档

接口文档


作家勋章

<h5>简要描述</h5> <ul> <li>作家勋章</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/api/authorAllMedalList</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;">author_id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>作家id</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "code": 200, "message": "ok", "data": [ { "id": 79, "name": "为爱发电", "summary": "作家号小于9999且名下有一部作品总字数大于55万", "image": "/cover/2c3d64539262fe5bfbb22dad945d1cc3.png", "active_image": "/cover/32c71512f8710f864821b269167b89ba.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 1, "created_at": "2021-01-27 23:34:40", "updated_at": "2021-01-27 23:34:51", "is_get": 1, "order": 1 }, { "id": 36, "name": "联合元老", "summary": "作家号小于33333且名下创作总字数突破100万", "image": "/cover/842f68ab237d2e4157c938cbb24b9cca.png", "active_image": "/cover/a6db69e6fb4bad8013b0cba8ee1f369d.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 2, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:41:28", "is_get": 1, "order": 2 }, { "id": 23, "name": "初出茅庐", "summary": "名下作品/专栏大于1部", "image": "/cover/43b0b5e822544f4680e4d07326264a85.png", "active_image": "/cover/325d55920575d2dffc22148dfd409366.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 11, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:36:44", "is_get": 1, "order": 11 }, { "id": 24, "name": "小试牛刀", "summary": "达成LV1成就", "image": "/cover/69ea7905ea09b1334864d1c2fdb7cc0f.png", "active_image": "/cover/6bd0598fd1e9a792053cada0e1cf233f.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 12, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:36:13", "is_get": 1, "order": 12 }, { "id": 25, "name": "崭露头角", "summary": "达成LV2成就", "image": "/cover/79c9ff34d7c3e948b00de3e4532605d8.png", "active_image": "/cover/7028c9682eb6701ba45a33187cc3accb.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 13, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:36:19", "is_get": 1, "order": 13 }, { "id": 26, "name": "声誉鹊起", "summary": "达成LV3成就", "image": "/cover/63ae78c2fb1f1b8f4a684083039bdb9f.png", "active_image": "/cover/83608bf7841e36b4058f091a235337ab.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 14, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:36:27", "is_get": 1, "order": 14 }, { "id": 37, "name": "息壤中坚", "summary": "作家号小于99999且名下VIP总字数突破200万", "image": "/cover/710c57c365b2ba5129347d19cf139ba3.png", "active_image": "/cover/5df57062a286e9d0ddf279c11883b851.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 3, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:41:34", "is_get": 0, "order": 1002 }, { "id": 27, "name": "威名远扬", "summary": "达成LV4成就", "image": "/cover/45c73edcce4897118952daed6e82b707.png", "active_image": "/cover/528abec34dd977b7c99e757cc52d2356.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 15, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:36:51", "is_get": 0, "order": 1014 }, { "id": 28, "name": "如雷贯耳", "summary": "达成LV5成就", "image": "/cover/cb5d6b37f54567eaab1e8eb54e86a724.png", "active_image": "/cover/00c402552fadf29cf525b8e66a0b1239.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 16, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:36:57", "is_get": 0, "order": 1015 }, { "id": 29, "name": "久负盛名", "summary": "达成大神成就", "image": "/cover/7afc8a260f4e2989540584a1f2bc5632.png", "active_image": "/cover/0a94897db28af978718238a92f1216ed.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 17, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:37:03", "is_get": 0, "order": 1016 }, { "id": 30, "name": "高山仰止", "summary": "达成白金成就", "image": "/cover/79d98b4c738053daa0a3cadb6d1ee83c.png", "active_image": "/cover/d3f59af830efff436aceef5484e2ef24.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 18, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:37:09", "is_get": 0, "order": 1017 }, { "id": 31, "name": "得心应手", "summary": "成功创建专栏且发文50篇以上", "image": "/cover/b9688005a842cfeda15b827a0a4490f2.png", "active_image": "/cover/c25e7975e0ccdea63faf6f9e91fa7c58.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 20, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:37:19", "is_get": 0, "order": 1019 }, { "id": 32, "name": "驾轻就熟", "summary": "专栏收费文章大于50篇且关注度大于1000", "image": "/cover/2cfc3b16a2a47903d493312f66e89f0c.png", "active_image": "/cover/87fa996f01ec568c193c2c6d204017f6.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 21, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:37:27", "is_get": 0, "order": 1020 }, { "id": 33, "name": "游刃有余", "summary": "专栏总文章大于200且关注度大于5000", "image": "/cover/31e1dc5a1a7c00e53da071af875faeb7.png", "active_image": "/cover/cf11abf674d728fd4f19708c10a55698.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 22, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:37:34", "is_get": 0, "order": 1021 }, { "id": 34, "name": "赫赫有名", "summary": "粉丝人数破千", "image": "/cover/858020866a7687e4439c2c838af57cb0.png", "active_image": "/cover/204d673340eddd1c1d5d59fcda76c93c.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 30, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:37:41", "is_get": 0, "order": 1029 }, { "id": 35, "name": "名扬四海", "summary": "粉丝人数破万", "image": "/cover/afe40d56053114d4c7c0478cb91dd616.png", "active_image": "/cover/aad289e8460a7e0b8d2638eb1999a3e1.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 31, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:37:48", "is_get": 0, "order": 1030 }, { "id": 18, "name": "笔耕不辍", "summary": "同笔名下有2部字数大于100万字的作品", "image": "/cover/943e526b3185d62ad2e522d21c3d5b39.png", "active_image": "/cover/985647fa3387e7cb44c22f53d177802d.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 40, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:38:10", "is_get": 0, "order": 1039 }, { "id": 19, "name": "持之以恒", "summary": "同笔名下有3部字数大于100万字的作品", "image": "/cover/2d0478dd6c614af26f96e5706ee80166.png", "active_image": "/cover/50f967398b3949f8787316b30d0b1588.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 41, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:38:17", "is_get": 0, "order": 1040 }, { "id": 20, "name": "才高八斗", "summary": "同笔名下作品4部以上,且VIP字数多于500万", "image": "/cover/16e74a633462defb7c6e0cca5dc7c7e5.png", "active_image": "/cover/878af6429e4501040294703812af2a75.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 42, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:38:24", "is_get": 0, "order": 1041 }, { "id": 21, "name": "丰饶高产", "summary": "同笔名下作品6部以上,且VIP总字数大于1000万", "image": "/cover/96439461c7bb7fdd6120102663bcf2a8.png", "active_image": "/cover/26b4fb97442d9e5ad8eb343651ce3693.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 43, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:38:31", "is_get": 0, "order": 1042 }, { "id": 22, "name": "著作等身", "summary": "同笔名下作品10部以上,且VIP字数大于3000万", "image": "/cover/6a75fb2b1ce0570a37a502da5b1701dc.png", "active_image": "/cover/37ba798c05d543d84a2d90db0455ed3e.png", "grant_type_reader": 0, "grant_type_author": 1, "grant_type_novel": 0, "status": 1, "sort": 44, "created_at": "2021-01-19 11:28:53", "updated_at": "2021-01-27 23:38:04", "is_get": 0, "order": 1043 } ], "number": 6 }</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> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML