王如霜-公开课详情刷新评论-20180708
<p><strong>简要描述:</strong> </p>
<ul>
<li>用户注册接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://localhost:8081/web-api/comment/selectAll</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>post</li>
</ul>
<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;">productId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>产品id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 0,
&quot;message&quot;: &quot;查询成功&quot;,
&quot;data&quot;: [
{
&quot;details&quot;: &quot;平均工资能说明什么问题?潘长江和姚明平均身高是196CM,能说明什么?潘长江很高吗&quot;, //评论内容
&quot;updatedAt&quot;: &quot;2018-06-30 10:35:07&quot;, //评论时间
&quot;nikeName&quot;: &quot;张三9&quot;, //评论人昵称
&quot;headImg&quot;: &quot;http://n.sinaimg.cn/default/1_img/upload/3933d981/653/w930h523/20180611/ybWG-hcufqih2426346.jpg&quot; //评论人头像
}
}</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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>