wx.requestSubscribeMessage调用失败?错误码:10001
调用wx.requestSubscribeMessage时,填写一个id,调用成功
代码:
wx.requestSubscribeMessage({ tmplIds: [ 'aIVC0gU-7vDggTrC5zpSK-k5QJT_pthkQiCFd23kTFQ' ], success(res) { console.log(res); if (callback) { callback(res); } }, fail(res) { console.log(res); }, complete(res) { console.log(res) } }) |
返回如下:
调用两个id时会提示以下错误
代码:
wx.requestSubscribeMessage({ tmplIds: [ 'aIVC0gU-7vDggTrC5zpSK-k5QJT_pthkQiCFd23kTFQ' , '6GLQL6UbQFDqwf9_gijnWxVJb_rszOc5yWUrjL9Ii2o' ], success(res) { console.log(res); if (callback) { callback(res); } }, fail(res) { console.log(res); }, complete(res) { console.log(res) } }) |
错误如下: