错误 #26354
sop管理-编辑页,保存草稿状态sop,修改标准操作知识内容描述保存,接口返回失败
0%
描述
接口路径;https://gapmsit.persagy.com/sop/restSopService/saveDraftSop
Headers: groupCode=apiauto
Accept=/
Content-Type=application/json;charset=utf-8
入参
{
"user_id": "835afc48cb384a2fbacc790c13e8af97",
"project_id": "Pj6110000001",
"work_type": "3",
"sop_id": "SOP3da54f4dca2e4531ba02b09086908eea",
"sop_name": "ApiTestZCWZ",
"steps": [{
"name": "第1步",
"id": 0,
"step_content": [{
"from_sop": false,
"confirm_result": [{
"description": "ApiTest3Nwx"
}]
}],
"from_sop": false
}]
}
响应:
{"ResultMsg":"steps参数不合法","ResultCode":"A0400","Result":"failure"}
预期结果:
{"ResultMsg":"","ResultCode":"00000","Result":"success"}
实际结果:
{"ResultMsg":"steps参数不合法","ResultCode":"A0400","Result":"failure"}