node-webot / co-wechat

Wechat for Koa
427 stars 91 forks source link

'encrypt_type' of undefined #23

Closed zuoye520 closed 7 years ago

zuoye520 commented 7 years ago

1.X版本报 nodejs.TypeError: Cannot read property 'encrypt_type' of undefined

JacksonTian commented 7 years ago

能给完整的stack吗

JacksonTian commented 7 years ago

配置问题。如果你在微信那边配置了加密模式,就要传入 appid 和 encodingAESKey。