专技天下(前台web端接口文档)

专技天下(前台web端接口文档)


设置为已读 — 刘艳岭

<p><strong>简要描述:</strong> </p> <ul> <li>设置为已读接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/news/web/pcMessage/readMessage</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>参数:</strong> </p> <pre><code>token: 放到request Header中 { "data":{ "id":1 } }</code></pre> <p><strong>请求参数说明:</strong></p> <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;">token</td> <td style="text-align: left;">√</td> <td style="text-align: left;">string</td> <td>token</td> </tr> <tr> <td style="text-align: left;">id</td> <td style="text-align: left;">√</td> <td style="text-align: left;">int</td> <td>消息记录id</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "data": {}, "message": { "errinfo": "success", "errcode": 200 } }</code></pre> <p><strong>返回参数说明</strong> </p> <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;">errcode</td> <td style="text-align: left;">int</td> <td>200:修改成功,99998:参数类型错误</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML