收藏
回答

企业微信审批申请调用错误代码301025?,是否是我数据格式有问题

"errcode":301025,"errmsg":"Warning: wrong json format. get approval param error:no applydata content"


格式如下:

{
    creator_userid: "echo", 
    template_id: "3TmmD5MLdmershT9RMgcQ3ReurmkWbxHxT48jRqN", 
    use_template_approver: 1, 
    approver: "", 
    apply_data: {
        contents: [
            {
                control: "Selector", 
                id: "Selector-1614674267846", 
                value: {
                    selector: {
                        type: "multi", 
                        options: [
                            {
                                key: "option-1614674267846"
                            }
                        ]
                    }
                }
            }, 
            {
                control: "Money", 
                id: "Money-1614674457165", 
                value: {
                    new_money: 600
                }
            }, 
            {
                control: "Selector", 
                id: "Selector-1614674513669", 
                value: {
                    selector: {
                        type: "multi", 
                        options: [
                            {
                                key: "option-1614674513669"
                            }
                        ]
                    }
                }
            }, 
            {
                control: "Date", 
                id: "Date-1614674777149", 
                value: {
                    date: {
                        type: "day", 
                        s_timestamp: "1569859200"
                    }
                }
            }
        ]
    }
}
最后一次编辑于  03-15
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容
问题标签