文档
测试

查看评论

GET
http://goshopping.lucky-deer.cn/api/web/index.php/v1/comments?shop_id=1&p=1&pageSize=10&best=1%20%E6%9F%A5%E7%9C%8B%E5%A5%BD%E8%AF%84&cha=1%E6%9F%A5%E7%9C%8B%E5%B7%AE%E8%AF%84&ok=%E8%BF%98%E4%B8%8D%E9%94%99

请求头

参数名
类型
描述
必填
p
int
示例:1
必填
pageSize
int
示例:10
必填
shop_id
int
示例:1
必填
pageSize
int
示例:2
必填

请求参数

参数名
类型
描述
必填
shop_id
int
示例:1
必填
p
int
示例:1
必填
pageSize
int
示例:10
必填
goods_type
int
示例:2
必填
goods_id
int
示例:12
必填
best
string
示例:1 查看好评
必填
cha
string
示例:1查看差评
必填
ok
string
示例:还不错
必填

响应参数

参数名
类型
描述
必填
code
string
示例:200
必填
msg
string
示例:数据获取成功
必填
data
array
数据列表
必填
id
string
示例:1
必填
content
string
示例:商家真的坑,菜里有老鼠,还狡辩说那是牛蛙
必填
shop_id
string
示例:1
必填
type
string
示例:1
必填
goods_id
string
示例:2
必填
comment_at
string
示例:1617089044
必填
back
string
示例:0
必填
user_id
string
示例:8
必填
order_id
string
示例:2
必填
com_star
string
示例:1
必填
goods_type
string
示例:1
必填
pid
string
示例:0
必填
user_name
string
示例:UIDM25096
必填
user_img
string
示例:https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2407590834,921300667&fm=26&gp=0.jpg
必填
child
array
数据列表
必填
id
string
示例:2
必填
content
string
示例:你见过牛蛙长啥样?
必填
shop_id
string
示例:1
必填
type
string
示例:1
必填
goods_id
string
示例:2
必填
comment_at
string
示例:1617090630
必填
back
string
示例:1
必填
user_id
string
示例:8
必填
order_id
string
示例:2
必填
com_star
string
示例:1
必填
goods_type
string
示例:1
必填
pid
string
示例:1
必填
user_name
string
示例:他家她家中式快餐
必填
user_img
string
示例:http://192.168.5.193/api/web/uploads/2021-03-11/202103111532033079.jpg
必填
child
array
数据列表
必填
id
string
示例:3
必填
content
string
示例:还狡辩我去消协告你
必填
shop_id
string
示例:1
必填
type
string
示例:1
必填
goods_id
string
示例:2
必填
comment_at
string
示例:1617094841
必填
back
string
示例:0
必填
user_id
string
示例:8
必填
order_id
string
示例:2
必填
com_star
string
示例:1
必填
goods_type
string
示例:1
必填
pid
string
示例:2
必填
user_name
string
示例:UIDM25096
必填
user_img
string
示例:https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2407590834,921300667&fm=26&gp=0.jpg
必填
child
array
数据列表
必填
id
string
示例:4
必填
content
string
示例:去搞,爷不怕
必填
shop_id
string
示例:1
必填
type
string
示例:1
必填
goods_id
string
示例:2
必填
comment_at
string
示例:1617094885
必填
back
string
示例:1
必填
user_id
string
示例:8
必填
order_id
string
示例:2
必填
com_star
string
示例:1
必填
goods_type
string
示例:1
必填
pid
string
示例:3
必填
user_name
string
示例:他家她家中式快餐
必填
user_img
string
示例:http://192.168.5.193/api/web/uploads/2021-03-11/202103111532033079.jpg
必填
page
object
数据字典
必填
pageParam
string
示例:p
必填
pageSizeParam
string
示例:pageSize
必填
forcePageParam
boolean
示例:true
必填
route
object
示例:null
必填
params
object
示例:null
必填
urlManager
object
示例:null
必填
validatePage
boolean
示例:false
必填
totalCount
string
示例:5
必填
defaultPageSize
int
示例:20
必填
pageSizeLimit
array
数据列表
必填
code
string
示例:200
必填
msg
string
示例:数据获取成功
必填
data
array
数据列表
必填
id
string
示例:22
必填
content
string
示例:好评吧
必填
shop_id
string
示例:1
必填
type
string
示例:1
必填
goods_id
string
示例:2
必填
comment_at
string
示例:1617762163
必填
back
string
示例:0
必填
user_id
string
示例:8
必填
order_id
string
示例:8
必填
com_star
string
示例:4
必填
goods_type
string
示例:1
必填
pid
string
示例:0
必填
user_name
string
示例:UIDM25096
必填
user_img
string
示例:https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2407590834,921300667&fm=26&gp=0.jpg
必填
is_nm
string
示例:1
必填
age_money
string
示例:60.00
必填
comment_img
string
示例:http://sz-shopping.oss-cn-beijing.aliyuncs.com/2021-04-07/202104071022297023.jpg,http://sz-shopping.oss-cn-beijing.aliyuncs.com/2021-04-07/202104071022305381.jpg,http://sz-shopping.oss-cn-beijing.aliyuncs.com/2021-04-07/202104071022318783.jpg
必填
comment_video
string
示例:http://sz-shopping.oss-cn-beijing.aliyuncs.com/2021-04-07/202104071022349096.mp4
必填
is_child
boolean
示例:false
必填
comment_time
string
示例:2021-04-07 10:22:43
必填
page
object
数据字典
必填
pageParam
string
示例:p
必填
pageSizeParam
string
示例:pageSize
必填
forcePageParam
boolean
示例:true
必填
route
object
示例:null
必填
params
object
示例:null
必填
urlManager
object
示例:null
必填
validatePage
boolean
示例:false
必填
totalCount
string
示例:8
必填
defaultPageSize
int
示例:20
必填
pageSizeLimit
array
数据列表
必填