评论列表
分页查看商品或店铺下的评论。
| 请求方式 | GET/POST |
|---|---|
| 接口路径 | /api/comment/list |
| Content-Type | - |
| 鉴权 | 免登录(无需 Token) |
请求参数
| 参数 | 类型 | 必填 | 位置 |
|---|---|---|---|
typeId | Integer | 否 | URL 参数 |
valueId | Integer | 否 | URL 参数 |
showType | Integer | 否 | URL 参数 |
curPage | Integer | 是 | URL 参数 |
sort | String | 否 | URL 参数 |
order | String | 否 | URL 参数 |
curl 调用
curl -s 'https://www.8shu8.com/api/comment/list?typeId=1&valueId=1&showType=1&curPage=1&sort=xxx&order=xxx'
响应示例
{
"code": 200,
"message": "操作成功",
"success": true,
"data": "..."
}