简要描述:

  • 通过门店ID获取评论列表

请求URL:

GET/plugin.store-cashier.frontend.store.get-store-info.get-all-comment-by-store-id

参数:

参数名 是否必须 类型 说明
store_id int 门店ID

返回示例:

正确时返回:

{
	result: 1,
	msg: "获取评论数据成功!",
	data: {
		comment: {
			average_score: 0,
			comment_total: 0
		},
		list: {
			total: 1,
			per_page: 20,
			current_page: 1,
			last_page: 1,
			next_page_url: null,
			prev_page_url: null,
			from: 1,
			to: 1,
			data: [
				{
					id: 1,
					order_id: 1,
					goods_id: 174,
					uid: 59,
					nick_name: "asd",
					head_img_url: "http://wx.qlogo.cn/mmopen/ICChoxbyTmz49jGagGFkbSzYLJBgtibRP92kxBntffDOYiap4VxIK3TRCyXnibHicOom0yGjVMOibj3wqPGrMmLUTvicOrwIL6w3fD/0",
					content: "44545454454",
					level: 5,
					images: null,
					created_at: "2017-09-12 10:40:25",
					type: 1,
					reply_count: 0,
					append: null,
					type_name: "评论",
					has_many_reply: [ ]
				}
			]
		}
	}
}

错误时返回:

  

返回参数说明:

备注:

  • 更多返回错误代码请看首页的错误代码描述