简要描述:
- 核销列表,使用记录
请求URL:
plugin.store-projects.frontend.comment.index
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
log_id | 是 | int | 使用记录ID |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": [{
"id": "171144705000",
"name": "问题1",
"has_many_answer": [{
"id": "17114470500000",
"point": "1.00",
"answer": "1分"
},
{
"id": "17114470500001",
"point": "2.00",
"answer": "2分"
},
{
"id": "17114470500002",
"point": "3.33",
"answer": "3.33分"
}
]
},
{
"id": "171144705001",
"name": "问题2",
"has_many_answer": [{
"id": "17114470500100",
"point": "8.90",
"answer": "8.9分"
},
{
"id": "17114470500101",
"point": "7.00",
"answer": "7分"
},
{
"id": "17114470500102",
"point": "-1.30",
"answer": "-1.3分"
}
]
}
]
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
data[id] | int | 问题ID |
data[name] | string | 问题内容 |
data[has_many_answer][id] | int | 选项ID |
data[has_many_answer][point] | float | 选项分数 |
data[has_many_answer][answer] | string | 选项内容 |
备注:
- 更多返回错误代码请看首页的错误代码描述