已经解决,JSON格式多了个TABLE层
企业微信审批明细附件报错get approval param error?JSON 数据格式为:{ "creator_userid": 1, "template_id": "C4Nu5Mud1xUeXkatzxrJA6o3BA5UAoMe3PmeJKSSC", "use_template_approver": 0, "approver": [{ "userid": 10001, "attr": 2 }], "notifyer": ["10004", "10005", "10003"], "notify_type": 2, "apply_data": { "contents": [{ "control": "Table", "id": "Table-1630847222883", "value": { "table": { "children": [{ "list": [{ "control": "Text", "id": "Text-1630847235509", "title": [{ "text": "部门", "lang": "zh_CN" }], "value": { "text": "综合部" } }, { "control": "Money", "id": "Money-1630847240615", "title": [{ "text": "金额", "lang": "zh_CN" }], "value": { "new_money": 1 } }, { "control": "Text", "id": "Text-1630847237331", "title": [{ "text": "备注", "lang": "zh_CN" }], "value": { "text": "" } }] }] } } }, { "control": "Money", "id": "Money-1630598332096", "value": { "new_money": 1 } }, { "control": "Text", "id": "Text-1630598267673", "value": { "text": "差旅费" } }, { "control": "Text", "id": "Text-1630598275215", "value": { "text": "2021-09-05" } }, { "control": "Textarea", "id": "Textarea-1630598288322", "value": { "text": "测试" } }, { "control": "Textarea", "id": "Textarea-1630598298050", "value": { "text": "才认识" } }, { "control": "File", "id": "File-1630598346217", "value": { "files": [{ "file_id": "3RWvxHdB_eQcTgVDgpYLXGw0p63hiqdrO6m1wqHfhT90" }] } }] }, "summary_info": { "text": "zh_CN" } } 组件明细为:[图片] 去除明细附件可以正常发起审批。我仔细对照了文档。没有发现问题?是在找不到办法了。求助各位。
2021-09-05