https://work.weixin.qq.com/api/doc/90000/90135/91853
请求:
{
"apply_data": {
"contents": [{
"control": "Textarea",
"id": "item-1494251039326",
"value": {
"text": "测试打款审批"
}
}, {
"control": "Text",
"id": "item-1494251166594",
"value": {
"text": "李四"
}
}, {
"control": "Text",
"id": "item-1494251179316",
"value": {
"text": "6222222222222222"
}
}, {
"control": "Text",
"id": "item-1494251194643",
"value": {
"text": "招商银行-福田支行"
}
}, {
"control": "Textarea",
"id": "item-1494251203122",
"value": {
"text": "测试测试"
}
}, {
"control": "File",
"id": "item-1494251220825",
"value": {
"files": [{
"file_id": "3_xNIagLcCr-3Rap6nlh3BQs7i964DpQVHRUToC1zn88CoIJbN2QBCzPKJv0Aei_H"
}]
}
}, {
"control": "Money",
"id": "item-1494251052639",
"value": {
"new_money": "10"
}
}, {
"control": "Date",
"id": "item-1494251158679",
"value": {
"date": {
"s_timestamp": "1599971887",
"type": "day"
}
}
}, {
"control": "selector",
"id": "item-1494251058811",
"value": {
"selector": {
"options": [{
"key": "option-3742851564"
}],
"type": "single"
}
}
}]
},
"approver": [{
"attr": 2,
"userid": ["csp01"]
}, {
"attr": 1,
"userid": ["csp01"]
}],
"creator_userid": "csp",
"notify_type": 1,
"notifyer": ["csp", "csp01"],
"summary_list": [{
"summary_info": [{
"lang": "zh_CN",
"text": "摘要第1行"
}]
}, {
"summary_info": [{
"lang": "zh_CN",
"text": "摘要第2行"
}]
}, {
"summary_info": [{
"lang": "zh_CN",
"text": "摘要第3行"
}]
}],
"template_id": "Bs7xbzTVgDMxotuJ2hhWxWSArd3752RNtEKyXhDZc",
"use_template_approver": 0
}
响应:
{\"errcode\":301055,\"errmsg\":\"no approval auth, hint: [1599530635_59_6f2587fdf4bbe9a7d500ced79e3c2cc3], from ip: 183.239.128.110, more info at https://open.work.weixin.qq.com/devtool/query?e=301055\"}
这是拷贝模板,在企业微信手工提交是没问题的。
您好,后台收到的请求 只有这个 req {"notify_type":1},请检查下封装的请求之类的吧