调用api需求发送邮件接口,邮件收到的正文为json数据,请高手帮忙解决,谢谢~

回贴
回帖数 2
阅读数 3719
发表时间 2017-01-12 08:55:28
🎊
龚先生 楼主

调用story-sendmail-437-26637.json接口,发送邮件正文为json数据格式,如下图,该如何解决,请赐教,谢谢~


{"status":"success","data":"{\"title\":\"\",\"story\":{\"id\":\"437\",\"product\":\"16\",\"branch\":\"0\",\"module\":\"0\",\"plan\":\"\",\"source\":\"\\u5176\\u4ed6\",\"sourceNote\":\"\",\"fromBug\":\"0\",\"title\":\"11\\u63d0\\u4f9bxxx\\u533a\\u57df\\u5f71\\u50cf\\u7cfb\\u7edf\\u4e92\\u8f7d\\u5747\\u8861\\u6280\\u672f\\u65b9\\u6848\",\"keywords\":\"\",\"type\":\"\",\"pri\":\"1\",\"estimate\":\"20\",\"status\":\"changed\",\"color\":\"\",\"stage\":\"wait\",\"mailto\":\",gonghailin\",\"openedBy\":\"admin\",\"openedDate\":\"2017-01-11 16:46:02\",\"assignedTo\":\"gonghailin\",\"assignedDate\":\"2017-01-11 16:46:02\",\"lastEditedBy\":\"admin\",\"lastEditedDate\":\"2017-01-11 16:46:02\",\"reviewedBy\":\"gonghailin\",\"reviewedDate\":\"1900-02-01\",\"closedBy\":\"\",\"closedDate\":\"2017-01-11 16:46:02\",\"closedReason\":\"\",\"toBug\":\"0\",\"childStories\":\"\",\"linkStories\":\"\",\"duplicateStory\":\"0\",\"version\":\"2\",\"deleted\":\"0\",\"spec\":\"\\u63d0\\u4f9bxxxx\\u533a\\u57df\\u5f71\\u50cf\\u7cfb\\u7edf\\u4e92\\u8f7d\\u5747\\u8861\\u65b9\\u6848\\uff0c\\u56db\\u5ddd\\u533a\\u57df\\u5f71\\u50cf\\u5e73\\u53f0\\u6240\\u6709\\u4e61\\u9547\\u90fd\\u63a5\\u5728\\u4e00\\u4e2a\\u8282\\u70b9PACS\\uff0c\\u5f53\\u63a5\\u5165\\u6570\\u91cf\\u8fc7\\u591a\\u540e\\uff0c\\u53ef\\u80fd\\u5b58\\u5728\\u7cfb\\u7edf\\u65e0\\u6cd5\\u652f\\u6491\\u7684\\u60c5\\u51b5\\uff1b\",\"verify\":\"xxxxx\",\"projects\":{\"1\":{\"project\":\"1\",\"name\":\"\\u56db\\u5ddd\\u7701\\u536b\\u751f\\u548c\\u8ba1\\u5212\\u751f\\u80b2\\u59d4\\u5458\\u4f1a\\u533a\\u57df\\u8fdc\\u7a0b\\u8bca\\u65ad\\u7cfb\\u7edf\\u53ca\\u96c6\\u6210\\u670d\\u52a1\\u91c7\\u8d2d\\u9879\\u76ee\",\"status\":\"doing\"}},\"tasks\":[],\"stages\":[]},\"action\":{\"id\":\"26637\",\"objectType\":\"story\",\"objectID\":\"437\",\"prod uct\":\",16,\",\"project\":\"1\",\"actor\":\"admin\",\"action\":\"changed\",\"date\":\"2017-01-11 17:16:03\",\"comment\":\"\",\"extra\":\"\",\"read\":\"0\",\"efforted\":\"0\",\"history\":[{\"id\":\"18786\",\"action\":\"26637\",\"field\":\"title\",\"old\":\"11\\u63d0\\u4f9b\\u533a\\u57df\\u5f71\\u50cf\\u7cfb\\u7edf\\u4e92\\u8f7d\\u5747\\u8861\\u6280\\u672f\\u65b9\\u6848\",\"new\":\"11\\u63d0\\u4f9bxxx\\u533a\\u57df\\u5f71\\u50cf\\u7cfb\\u7edf\\u4e92\\u8f7d\\u5747\\u8861\\u6280\\u672f\\u65b9\\u6848\",\"diff\":\"\"},{\"id\":\"18787\",\"action\":\"26637\",\"field\":\"spec\",\"old\":\"\\u63d0\\u4f9b\\u533a\\u57df\\u5f71\\u50cf\\u7cfb\\u7edf\\u4e92\\u8f7d\\u5747\\u8861\\u65b9\\u6848\\uff0c\\u56db\\u5ddd\\u533a\\u57df\\u5f71\\u50cf\\u5e73\\u53f0\\u6240\\u6709\\u4e61\\u9547\\u90fd\\u63a5\\u5728\\u4e00\\u4e2a\\u8282\\u70b9PACS\\uff0c\\u5f53\\u63a5\\u5165\\u6570\\u91cf\\u8fc7\\u591a\\u540e\\uff0c\\u53ef\\u80fd\\u5b58\\u5728\\u7cfb\\u7edf\\u65e0\\u6cd5\\u652f\\u6491\\u7684\\u60c5\\u51b5\\uff1b\",\"new\":\"\\u63d0\\u4f9bxxxx\\u533a\\u57df\\u5f71\\u50cf\\u7cfb\\u7edf\\u4e92\\u8f7d\\u5747\\u8 861\\u65b9\\u6848\\uff0c\\u56db\\u5ddd\\u533a\\u57df\\u5f71\\u50cf\\u5e73\\u53f0\\u6240\\u6709\\u4e61\\u9547\\u90fd\\u63a5\\u5728\\u4e00\\u4e2a\\u8282\\u70b9PACS\\uff0c\\u5f53\\u63a5\\u5165\\u6570\\u91cf\\u8fc7\\u591a\\u540e\\uff0c\\u53ef\\u80fd\\u5b58\\u5728\\u7cfb\\u7edf\\u65e0\\u6cd5\\u652f\\u6491\\u7684\\u60c5\\u51b5\\uff1b\",\"diff\":\"\"},{\"id\":\"18788\",\"action\":\"26637\",\"field\":\"verify\",\"old\":\"\",\"new\":\"xxxxx\",\"diff\":\"\"},{\"id\":\"18789\",\"action\":\"26637\",\"field\":\"version\",\"old\":\"1\",\"new\":\"2\",\"diff\":\"\\u7248\\u672c\\u53d8\\u66f4\\u75311\\u53d8\\u4e3a2,\\u9700\\u6c42\\u4e2d\\u7684\\u9644\\u4ef6\\u53ef\\u80fd\\u6709\\u6539\\u66f4\"}]},\"users\":{\"\":\"\",\"admin\":\"admin\",\"changweitao\":\"\\u5e38\\u536b\\u6d9b\",\"chanyanbiao\":\"chanyanbiao\",\"chenguozhen\":\"\\u9648\\u56fd\\u6862\",\"chenyanbiao\":\"\\u9648\\u8273\\u6807\",\"chenzhitao\":\"\\u9648\\u5fd7\\u6d9b\",\"dongyonghua\":\"\\u8463\\u6c38\\u534e\",\"dufei\":\"\\u675c\\u83f2\ ",\"dujuanjuan\":\"\\u675c\\u5a1f\\u5a1f\",\"fengtai\":\"\\u4e30\\u53f0\\u533a\\u57df\\u9879\\u76ee\",\"gonghailin\":\"\\u9f9a\\u6d77\\u6797\",\"hemengguang\":\"\\u548c\\u5b5f\\u5149\",\"huangchenhong\":\"\\u9ec4\\u8d81\\u7ea2\",\"huaxiujie\":\"\\u534e\\u79c0\\u6770\",\"huwen\":\"\\u80e1\\u6587\",\"huwenjing\":\"\\u80e1\\u6587\\u9759\",\"leijunying\":\"\\u96f7\\u519b\\u8425\",\"liangjia\":\"\\u6881\\u4f73\",\"lihuabin\":\"\\u674e\\u534e\\u5bbe\",\"lijinlao\":\"\\u674e\\u91d1\\u52b3\",\"limingyan\":\"\\u674e\\u660e\\u5f66\",\"lininghua\":\"\\u674e\\u5b81\\u534e\",\"lishanshan\":\"\\u674e\\u73ca\\u73ca\",\"litingting\":\"\\u674e\\u5a77\\u5a77\",\"liujudong\":\"\\u5218\\u5de8\\u680b\",\"liuwenli\":\"\\u5218\\u6587\\u793c\",\"liuxing\":\"\\u5218\\u884c\",\"lvjie\":\"\\u5415\\u6770\",\"maowenhao\":\"\\u6bdb\\u6587\\u8c6a\",\"mujunxian\":\"\\u6bcd\\u4fca\\u8d24\",\"puwenshuai\":\"\\u666e\\u6587\\u5e05\",\"renfeng\":\"\\u4efb\\u950b\",\"shenhaibao\":\"\\u7533\\u6d77\\u8c79\",\"shenkun\":\" \\u7533\\u5764\",\"shenzhen\":\"\\u6df1\\u5733\\u533b\\u5b66\\u5f71\\u50cf\",\"sichuan\":\"\\u56db\\u5ddd\\u9879\\u76ee\",\"songliangsheng\":\"\\u5b8b\\u826f\\u5347\",\"songpu\":\"\\u5b8b\\u749e\",\"sunkai\":\"\\u5b59\\u51ef\",\"test\":\"test\",\"tongchao\":\"\\u4edd\\u8d85\",\"wanghui\":\"\\u738b\\u8f89\",\"wanghuiting\":\"\\u738b\\u4f1a\\u4ead\",\"wangjingang\":\"\\u738b\\u91d1\\u521a\",\"wangliubiao\":\"\\u738b\\u7559\\u5f6a\",\"wangpu\":\"\\u738b\\u666e\",\"wangxiaoke\":\"\\u738b\\u5c0f\\u73c2\",\"wangyang\":\"\\u738b\\u9633\",\"wanyulong\":\"\\u4e07\\u7389\\u9f99\",\"weixiangqiu\":\"\\u9b4f\\u6e58\\u6c42\",\"wuhuajian\":\"\\u5434\\u534e\\u5efa\",\"wuhuarong\":\"wuhuarong\",\"xingwanyue\":\"\\u90a2\\u4e07\\u5cb3\",\"yangguangchao\":\"\\u9122\\u5149\\u8d85\",\"yangguozhi\":\"\\u6768\\u56fd\\u5fd7\",\"yangwukang\":\"\\u6768\\u6b66\\u5eb7\",\"yangzhangcun\":\"\\u6768\\u7ae0\\u5b58\",\"yuzhenxiang\":\"\\u4e8e\\u796f\\u7965\",\"zhangbaoqiang\":\"\\u5f20\\u4fdd\\u5f3a\",\"zhanggang\": \"\\u5f20\\u521a\",\"zhangguanghui\":\"\\u5f20\\u5149\\u8f89\",\"zhangguoqiang\":\"\\u5f20\\u56fd\\u5f3a\",\"zhangjian\":\"\\u5f20\\u5efa\",\"zhangweiqiang\":\"\\u5f20\\u536b\\u5f3a\",\"zhangzhichao\":\"\\u5f20\\u667a\\u8d85\",\"zhangzhongshuai\":\"\\u5f20\\u5fe0\\u5e

1个回复
石洋洋 沙发
要触发发信动作的话可以直接调用 story-sendmail-437-26637.html
2017-01-12 12:21:06 石洋洋 回帖
联系人
魏中显/高级客户经理
电话(微信)
18561939726
QQ号码
1746749398
联系邮箱
weizhongxian@chandao.com
返回顶部
魏中显
高级客户经理
18561939726
1746749398
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。