用户评价订单接口
<p><strong>接口说明 </strong></p>
<pre><code>请求接口: /cmall/app/order/discuss
请求方式: POST
接口说明: 用户评价订单接口(需登录)</code></pre>
<p><strong>请求参数 </strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>长度</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>是</td>
<td>20</td>
<td>long</td>
<td>社区服务订单id</td>
</tr>
<tr>
<td>score</td>
<td>是</td>
<td>11</td>
<td>int</td>
<td>用户评分</td>
</tr>
<tr>
<td>userDiscuss</td>
<td>否</td>
<td>512</td>
<td>string</td>
<td>用户评价</td>
</tr>
</tbody>
</table>
<p><strong>返回参数</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>string</td>
<td>状态值</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>返回消息</td>
</tr>
<tr>
<td>data</td>
<td>string</td>
<td>返回数据</td>
</tr>
<tr>
<td>id</td>
<td>Long</td>
<td>用户评价id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code":"0000",
"msg":"success",
"data":{
"id":1
}
}</code></pre>
<p><strong>错误码</strong></p>
<table>
<thead>
<tr>
<th>错误码</th>
<th>错误解释</th>
</tr>
</thead>
<tbody>
<tr>
<td>0000</td>
<td>操作成功</td>
</tr>
<tr>
<td>0001</td>
<td>服务器异常</td>
</tr>
<tr>
<td>6003</td>
<td>该社区服务订单不存在</td>
</tr>
<tr>
<td>6012</td>
<td>该订单无法进行评价</td>
</tr>
</tbody>
</table>