有人用云开发实现模板消息发送吗?
发布于 6 年前 作者 weitang 9176 次浏览 来自 官方Issues

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

4 回复

调用失败报什么 错?

小程序发布之后才可以

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

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

回到顶部