云函数templateMessage.send方法失效
发布于 6 年前 作者 chaoliao 10624 次浏览 来自 问答

配置过config.json

具体云函数代码如下

在工具上做云端测试时,显示templateMessage undefined

具体【TypeError: Cannot read property ‘templateMessage’ of undefined

在真机上未出现报错,也未发送消息通知

请问如何解决

1 回复

已解决,wx-server-sdk 版本过低,导致报错,已升级到0.4.0 +

回到顶部