有人用云开发实现模板消息发送吗?

发布于 7 年前作者 weitang9349 次浏览最后编辑 7 年前来自 issues

文档看很多遍了,自动生成的官方Demo,发送模板消息的时候都调用失败,难道只有发布之后的小程序才能调用?

4 回复
jun01
jun011 楼6 年前

调用失败报什么 错?

xfang
xfang2 楼6 年前

小程序发布之后才可以

qiujun
qiujun3 楼6 年前

 errMsg: openapi.templateMessage.addTemplate:fail source.on is not a function; at openapi.templateMessage.addTemplate api; 

linguiying
linguiying4 楼5 年前

你看回馈得结果是什么,还有就是电脑调试的 formIdthe formId is a mock one” 也会导致调用失败,用真机试试