文档
测试

后台评价查询

GET
/csc/review/getReviewListByShopIdAndFourType?shopId=1406519712036294656&limit=2&page=1&orderTime=1&praise=1&isReply=1

接口描述

请求的参数有shopId,limit(页面大小)page(当前页面),orderTime(时间顺序)0就是没有选 ,1 升序 2降序 praise(好评度) 0 默认就是全部 123对应好评中评差评 isReply=0 默认全部 1 有回复 2 没有回复 isContent 0默认全部 1 有内容 2无内容

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:200
必填
page
object
数据字典
必填
totalCount
int
示例:1
必填
pageSize
int
示例:2
必填
totalPage
int
示例:1
必填
currPage
int
示例:1
必填
list
array
数据列表
必填
reviewId
string
示例:1410214650464833536
必填
content
string
示例:很不错
必填
totalScore
int
示例:5
必填
fresh
int
示例:5
必填
pack
int
示例:3
必填
createTime
string
示例:2021-06-30 20:32:27
必填
status
int
示例:0
必填
userId
string
示例:1404429168841723904
必填
userName
string
示例:李凡
必填
isAnonymous
int
示例:1
必填
imgs
array
数据列表
必填
shopOrderId
string
示例:1407267386071060480
必填
shopId
string
示例:1406519712036294656
必填
flavor
int
示例:5
必填
delivery
int
示例:2
必填
userImg
object
示例:null
必填
shopReview
string
示例:滚傻逼
必填
reviewOrderProductPos
array
数据列表
必填
productNumber
int
示例:5
必填
productName
string
示例:章鱼
必填

说明 / 示例

{ "msg": "success", "code": 200, "page": { "totalCount": 1, "pageSize": 2, "totalPage": 1, "currPage": 1, "list": [ { "reviewId": "1410214650464833536", "content": "很不错", "totalScore": 5, "fresh": 5, "pack": 3, "createTime": "2021-06-30 20:32:27", "status": 0, "userId": "1404429168841723904", "userName": "李凡", "isAnonymous": 1, "imgs": [ "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fcdn.duitang.com%2Fuploads%2Fitem%2F201410%2F04%2F20141004172507_J8Mty.jpeg&refer=http%3A%2F%2Fcdn.duitang.com&app=2002&size=f9999", "10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1627203692&t=a8d5bd7315772678c4684cc2a810be04" ], "shopOrderId": "1407267386071060480", "shopId": "1406519712036294656", "flavor": 5, "delivery": 2, "userImg": null, "shopReview": "滚傻逼", "reviewOrderProductPos": [ { "productNumber": 5, "productName": "章鱼" }, { "productNumber": 12, "productName": "章鱼" } ] } ] } }