狼行天下团队开发

问答详情


设置最佳回答

<h5>简要描述</h5> <ul> <li>设置最佳回答</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://localhost:9000/trip-answer-server/questions/best</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST</li> </ul> <h5>参数</h5> <table> <thead> <tr> <th>名称</th> <th>位置</th> <th>类型</th> <th>必选</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>token</td> <td>header</td> <td>string</td> <td>否</td> <td>none</td> </tr> <tr> <td>body</td> <td>body</td> <td>object</td> <td>否</td> <td>none</td> </tr> <tr> <td>» qid</td> <td>body</td> <td>number</td> <td>否</td> <td>none</td> </tr> <tr> <td>» rid</td> <td>body</td> <td>number</td> <td>否</td> <td>none</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code class="language-json">{ "msg": "success", "code": 200 }</code></pre> <h3>返回结果</h3> <table> <thead> <tr> <th>状态码</th> <th>状态码含义</th> <th>说明</th> <th>数据模型</th> </tr> </thead> <tbody> <tr> <td>200</td> <td><a href="https://tools.ietf.org/html/rfc7231#section-6.3.1">OK</a></td> <td>成功</td> <td>Inline</td> </tr> </tbody> </table>

页面列表

ITEM_HTML