简要描述:
- 核销列表,使用记录
请求URL:
plugin.store-projects.frontend.comment.detail
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
log_id | 是 | int | 使用记录ID |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"id": 4,
"log_id": 34,
"data": [{
"id": "171134835200",
"name": "问题1",
"has_many_answer": [{
"id": "17113483520000",
"point": "1.00",
"answer": "1分"
},
{
"id": "17113483520001",
"point": "2.00",
"answer": "2分"
},
{
"id": "17113483520002",
"point": "3.33",
"answer": "3.33分"
}
],
"select_value": "17113483520001",
"point": "2.00"
},
{
"id": "171134835201",
"name": "问题2",
"has_many_answer": [{
"id": "17113483520100",
"point": "8.90",
"answer": "8.9分"
},
{
"id": "17113483520101",
"point": "7.00",
"answer": "7分"
},
{
"id": "17113483520102",
"point": "-1.30",
"answer": "-1.3分"
}
],
"select_value": "17113483520102",
"point": "-1.30"
}
],
"point": "0.70",
"avg_point": "0.35",
"store_id": 35,
"project_id": 7,
"project_thumb": "http:\/\/shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com\/newimage\/ac19eccd3ab2ad1b5b09ad7e4271813d.png",
"project_name": "日系松风美睫",
"store_name": "in-beauty皮肤管理中心"
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
data.project_name | string | 项目名称 |
data.store_name | string | 门店名称 |
data.project_thumb | string | 项目图片 |
data.point | float | 评价得分 |
data.avg_point | float | 评价平均得分 |
data.data[name] | string | 问题内容 |
data.data[select_value] | int | 客户选择的选项ID |
data.data[point] | float | 客户选择的选项获得的份数 |
data.data[has_many_answer][id] | int | 选项ID |
data.data[has_many_answer][point] | float | 选项得分 |
data.data[has_many_answer][answer] | string | 选项内容 |
备注:
- 更多返回错误代码请看首页的错误代码描述