通过商店id查询评价
[TOC]
简要描述
- 通过商店id查询评价接口
请求URL
请求方式
-Get
参数
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
storeId | 是 | long | 店铺id |
situation | 是 | long | 0、好评,1、中评、2差评 |
storeId | 是 | long | 店铺id |
pageNum | 是 | string | 分页条数 |
pageSize | 是 | string | 分页页数 |
sorting | 是 | string | create_time |
way | 是 | string | asc 时间正序,desc时间倒序 |
返回示例
{
"total": 9,
"rows": [
{
"searchValue": null,
"createBy": null,
"createTime": "2022-09-21 16:53:06",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 5,
"storeId": 1,
"goodId": 1,
"createUser": 2,
"evaluationText": "123123123",
"healthStar": 1,
"facilitiesStar": 2,
"serviceStar": 4,
"locationStar": 3,
"totalStar": null,
"orderId": null,
"situation": "0",
"anonymousType": null,
"userName": "ry",
"avatar": "",
"fileIds": null,
"filePath": null,
"fileList": []
},
{
"searchValue": null,
"createBy": null,
"createTime": "2022-09-21 16:54:54",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 6,
"storeId": 1,
"goodId": 1,
"createUser": 1,
"evaluationText": "123123123",
"healthStar": 1,
"facilitiesStar": 2,
"serviceStar": 4,
"locationStar": 3,
"totalStar": null,
"orderId": null,
"situation": "0",
"anonymousType": null,
"userName": "admin",
"avatar": "",
"fileIds": null,
"filePath": null,
"fileList": []
},
{
"searchValue": null,
"createBy": null,
"createTime": "2022-09-21 16:55:12",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 7,
"storeId": 1,
"goodId": 1,
"createUser": 1,
"evaluationText": "123123123",
"healthStar": 1,
"facilitiesStar": 2,
"serviceStar": 4,
"locationStar": 3,
"totalStar": null,
"orderId": null,
"situation": "0",
"anonymousType": null,
"userName": "admin",
"avatar": "",
"fileIds": null,
"filePath": null,
"fileList": []
},
{
"searchValue": null,
"createBy": null,
"createTime": "2022-09-21 17:00:00",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 8,
"storeId": 1,
"goodId": 1,
"createUser": 1,
"evaluationText": "123123123",
"healthStar": 1,
"facilitiesStar": 2,
"serviceStar": 4,
"locationStar": 3,
"totalStar": null,
"orderId": null,
"situation": "0",
"anonymousType": null,
"userName": "admin",
"avatar": "",
"fileIds": null,
"filePath": null,
"fileList": []
},
{
"searchValue": null,
"createBy": null,
"createTime": "2022-09-21 17:02:47",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 9,
"storeId": 1,
"goodId": 1,
"createUser": 1,
"evaluationText": "123123123",
"healthStar": 1,
"facilitiesStar": 2,
"serviceStar": 4,
"locationStar": 3,
"totalStar": null,
"orderId": null,
"situation": "0",
"anonymousType": null,
"userName": "admin",
"avatar": "",
"fileIds": null,
"filePath": null,
"fileList": [
{
"searchValue": null,
"createBy": null,
"createTime": "2022-09-21 17:02:47",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 1,
"evaluationId": 9,
"createUser": 1,
"fileId": null,
"filePath": null
},
{
"searchValue": null,
"createBy": null,
"createTime": "2022-09-21 17:02:47",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 2,
"evaluationId": 9,
"createUser": 1,
"fileId": null,
"filePath": null
}
]
},
{
"searchValue": null,
"createBy": null,
"createTime": "2022-09-21 17:02:57",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 10,
"storeId": 1,
"goodId": 1,
"createUser": 1,
"evaluationText": "123123123",
"healthStar": 1,
"facilitiesStar": 2,
"serviceStar": 4,
"locationStar": 3,
"totalStar": null,
"orderId": null,
"situation": "0",
"anonymousType": null,
"userName": "admin",
"avatar": "",
"fileIds": null,
"filePath": null,
"fileList": [
{
"searchValue": null,
"createBy": null,
"createTime": "2022-09-21 17:02:57",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 3,
"evaluationId": 10,
"createUser": 1,
"fileId": null,
"filePath": null
},
{
"searchValue": null,
"createBy": null,
"createTime": "2022-09-21 17:02:57",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 4,
"evaluationId": 10,
"createUser": 1,
"fileId": null,
"filePath": null
}
]
},
{
"searchValue": null,
"createBy": null,
"createTime": "2022-10-02 20:22:11",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 16,
"storeId": 1,
"goodId": 1,
"createUser": 1,
"evaluationText": "123123123",
"healthStar": 1,
"facilitiesStar": 2,
"serviceStar": 4,
"locationStar": 3,
"totalStar": null,
"orderId": null,
"situation": "1",
"anonymousType": null,
"userName": "admin",
"avatar": "",
"fileIds": null,
"filePath": null,
"fileList": [
{
"searchValue": null,
"createBy": null,
"createTime": "2022-10-02 20:22:12",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 9,
"evaluationId": 16,
"createUser": 1,
"fileId": null,
"filePath": "/profile/avatar/2022/09/21/测试图片png_20220921160328A001.png"
},
{
"searchValue": null,
"createBy": null,
"createTime": "2022-10-02 20:22:12",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 10,
"evaluationId": 16,
"createUser": 1,
"fileId": null,
"filePath": "/profile/avatar/2022/09/21/测试图片png_20220921160328A001.png"
}
]
},
{
"searchValue": null,
"createBy": null,
"createTime": "2022-10-02 20:25:58",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 17,
"storeId": 1,
"goodId": 1,
"createUser": 1,
"evaluationText": "123123123",
"healthStar": 1,
"facilitiesStar": 2,
"serviceStar": 4,
"locationStar": 3,
"totalStar": null,
"orderId": null,
"situation": "1",
"anonymousType": null,
"userName": "admin",
"avatar": "",
"fileIds": null,
"filePath": null,
"fileList": [
{
"searchValue": null,
"createBy": null,
"createTime": "2022-10-02 20:25:59",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 11,
"evaluationId": 17,
"createUser": 1,
"fileId": null,
"filePath": "/profile/avatar/2022/09/21/测试图片png_20220921160328A001.png"
},
{
"searchValue": null,
"createBy": null,
"createTime": "2022-10-02 20:25:59",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 12,
"evaluationId": 17,
"createUser": 1,
"fileId": null,
"filePath": "/profile/avatar/2022/09/21/测试图片png_20220921160328A001.png"
}
]
},
{
"searchValue": null,
"createBy": null,
"createTime": "2022-10-02 20:31:54",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 18,
"storeId": 1,
"goodId": 1,
"createUser": 1,
"evaluationText": "123123123",
"healthStar": 1,
"facilitiesStar": 2,
"serviceStar": 4,
"locationStar": 3,
"totalStar": null,
"orderId": null,
"situation": "1",
"anonymousType": null,
"userName": "admin",
"avatar": "",
"fileIds": null,
"filePath": null,
"fileList": [
{
"searchValue": null,
"createBy": null,
"createTime": "2022-10-02 20:31:54",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 13,
"evaluationId": 18,
"createUser": 1,
"fileId": null,
"filePath": "/profile/avatar/2022/09/21/测试图片png_20220921160328A001.png"
},
{
"searchValue": null,
"createBy": null,
"createTime": "2022-10-02 20:31:54",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 14,
"evaluationId": 18,
"createUser": 1,
"fileId": null,
"filePath": "/profile/avatar/2022/09/21/测试图片png_20220921160328A001.png"
}
]
}
],
"code": 200,
"msg": "查询成功"
}
返回参数说明
参数名 | 类型 | 说明 |
---|---|---|
id | long | 评价id |
storeId | long | 店铺id |
goodId | long | 商品id |
evaluationText | String | 评价内容 |
fileList | 对象数组 | 评价id |
userName | string | 用户名称 |
avatar | string | 头像地址 |
备注
- 更多返回错误代码请看首页的错误代码描述