狼行天下

浪叫wowowowowu


基于问题 id 查询对应的回答

<h5>简要描述</h5> <ul> <li>基于问题 id 查询对应的回答</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://localhost:9000/question/questions/comment</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;">questionId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">integer</td> <td>问题id</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{     "msg": "success",     "code": 200,     "data": \[         {             "id": 1,             "questionId": 1,             "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             },             "content": "你说得对",             "state": 0,             "thumbsupnum": 3,             "starnum": 3,             "createTime": "2023-01-18 05:30:10",             "updateTime": "2023-01-14 23:08:59",             "best": null         },         {             "id": 2,             "questionId": 1,             "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             },             "content": "就是这个味",             "state": 0,             "thumbsupnum": 4,             "starnum": 4,             "createTime": "2023-01-13 05:50:33",             "updateTime": "2023-01-14 21:05:59",             "best": null         }     \] }</code></pre>

页面列表

ITEM_HTML