开发者社区> 问答> 正文

JSAPI 发钉不能显示text设定的内容

公司做的微应用现在调用发钉功能,钉消息不能显示了。上线到昨天都一直正常。调用代码如下:

dd.biz.ding.post({
     users : [userId],
     corpId : _config.corpId,
     type : 2,
     alertType : 1,
     attachment : {
      title : data.description,
      url : urls,
      image: location.protocol + '//' + location.hostname + ":" + location.port + '${ctx}/images/star1.png',
      text : '猛戳这里进行评价'
     },
     text : '测试',//'请对我的服务(' + data.id + ')做评价。处理结果:'+data.solutionOpinion, //消息
     onSuccess : function() {
      $.hidePreloader();
      ddWrap.close();
     },
     onFail : function() {
      $.hidePreloader();
     }
    });

使用JSAPI控制台测试,结果也是一样。

测试结果:

“测试一下”没有显示在钉消息中。






展开
收起
weitd 2017-01-23 11:33:17 2397 0
2 条回答
写回答
取消 提交回答
  • ReJSAPI 发钉不能显示text设定的内容
    同遇到该问题了 lz钉钉解决这个bug了么
    2017-02-20 15:12:29
    赞同 展开评论 打赏
  • ReJSAPI 发钉不能显示text设定的内容
    经测试钉钉V3.3.1、V3.1.2没有问题
    钉钉V3.3.5、V3.3.3有此BUG
    2017-02-15 11:31:28
    赞同 展开评论 打赏
问答地址:
问答排行榜
最热
最新

相关电子书

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