开发者社区> 问答> 正文

OA消息head.text不生效。

参数为:
  {
    "oa": {
        "message_url": "http://www.baidu.com",
        "head": {
            "bgcolor": "38ADFF",
            "text": "你好啊"
        },
        "body": {
            "title": "费用报销流程",
            "content": "hello",
            "image": null,
            "file_count": null,
            "author": "BPM系统",
            "form": null,
            "rich": null
        }
    },
    "msgtype": "oa",
    "touser": "aa",
    "toparty": "",
    "agentid": "aa"
}


显示的head名称不正确。

展开
收起
李¥风 2016-03-24 12:14:50 4306 0
2 条回答
写回答
取消 提交回答
  • 回 1楼谦吉的帖子
    虾扯蛋,去了说缺少 agentid
    2016-03-24 15:37:44
    赞同 展开评论 打赏
  • 把agentid这个参数去掉,试一下啊

    -------------------------

    oa消息是吧,oa消息是根据agentId来获取应用名称作显示的

    2016-03-24 14:19:34
    赞同 展开评论 打赏
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载