测量单添加反馈图
接口说明
给测量单(组模式)新增反馈图,按旧逻辑写入 survey_pic。
本接口固定处理 type=result(结果图),并通过 survey_group_id 定位测量单。
请求信息
请求 URL:
http://lbl-open.thinkerx.com/api/lbl/after-sales/survey-items/{survey_group_id}/feedback-images请求方式:
POST
请求参数
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| login_token | 是 | string | 通行证 |
| survey_group_id | 是 | int | 路径参数,测量单 id(survey_group.id) |
| type | 是 | string | 固定传 result |
| pic_arr | 是 | array[string] | 反馈图链接数组 |
返回示例
{
"status": 0,
"message": "添加成功",
"data": {
"survey_group_id": 5,
"finance_group_id": 2323,
"images": [
{
"id": 9001,
"url": "https://cdn.xxx.com/survey/result-1.jpg"
},
{
"id": 9002,
"url": "https://cdn.xxx.com/survey/result-2.jpg"
}
]
}
}