狼行天下

浪叫wowowowowu


状态查询

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>问题状态查询</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://localhost:9000/question/questions/qsQuery</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;">state</td> <td style="text-align: left;">是</td> <td style="text-align: left;">integer</td> <td>问题的状态</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{     "msg": "success",     "code": 200,     "data": {         "records": \[             {                 "id": 1,                 "title": "哈哈哈",                 "content": "111",                 "viewnum": 12,                 "thumbsupnum": 111,                 "starnum": 11,                 "replynum": 4,                 "state": 1,                 "destId": 450,                 "destination": null,                 "userId": 13,                 "userInfo": {                     "id": 13,                     "nickname": "xiaoli",                     "phone": "12100000000",                     "email": "zhy@wolfcode.cn",                     "gender": 1,                     "level": 11,                     "city": "成都",                     "headImgUrl": "https://t12.baidu.com/it/app=25&amp;f=JPEG&amp;fm=173&amp;fmt=auto&amp;u=76487564%2C154940950?w=637&amp;h=424&amp;s=BD12FBB354C23AFA0211D516030050E7",                     "info": "成都最靓的妞",                     "state": 0                 },                 "qualityScore": 15,                 "createTime": "2010-02-04 05:27:15",                 "updateTime": "2023-01-14 03:40:13",                 "goodCommentId": "1",                 "comment": null             },             {                 "id": 2,                 "title": "111",                 "content": "222",                 "viewnum": 11,                 "thumbsupnum": 111,                 "starnum": 111,                 "replynum": 11,                 "state": 1,                 "destId": 450,                 "destination": null,                 "userId": 14,                 "userInfo": {                     "id": 14,                     "nickname": "lishuang",                     "phone": "18398754563",                     "email": "zhy@wolfcode.cn",                     "gender": 1,                     "level": 11,                     "city": "成都",                     "headImgUrl": "https://t12.baidu.com/it/app=25&amp;f=JPEG&amp;fm=173&amp;fmt=auto&amp;u=76487564%2C154940950?w=637&amp;h=424&amp;s=BD12FBB354C23AFA0211D516030050E7",                     "info": "成都最靓的妞",                     "state": 0                 },                 "qualityScore": 66,                 "createTime": "2023-01-22 05:50:38",                 "updateTime": "2023-01-14 03:40:15",                 "goodCommentId": "1",                 "comment": null             },             {                 "id": 4,                 "title": "333",                 "content": "33",                 "viewnum": 33,                 "thumbsupnum": 33,                 "starnum": 33,                 "replynum": 333,                 "state": 1,                 "destId": 450,                 "destination": null,                 "userId": 15,                 "userInfo": {                     "id": 15,                     "nickname": "lll",                     "phone": "18398754564",                     "email": "zhy@wolfcode.cn",                     "gender": 1,                     "level": 11,                     "city": "广州",                     "headImgUrl": "https://t12.baidu.com/it/app=25&amp;f=JPEG&amp;fm=173&amp;fmt=auto&amp;u=76487564%2C154940950?w=637&amp;h=424&amp;s=BD12FBB354C23AFA0211D516030050E7",                     "info": "广州最靓的妞",                     "state": 0                 },                 "qualityScore": 66,                 "createTime": "2023-01-03 19:02:21",                 "updateTime": "2023-01-14 03:56:50",                 "goodCommentId": null,                 "comment": null             }         \],         "total": 3,         "size": 10,         "current": 1,         "orders": \[\],         "optimizeCountSql": true,         "searchCount": true,         "countId": null,         "maxLimit": null,         "pages": 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;">state</td> <td style="text-align: left;">integer</td> <td>问题状态,-2:关闭;-1:删除;0:草稿;1:已发布</td> </tr> </tbody> </table>

页面列表

ITEM_HTML