open-dingtalk / DingTalk-Callback-Crypto

钉钉回调加解密类库和对应demo
62 stars 199 forks source link

Patch for python3 #14

Closed Johnyeo closed 1 year ago

Johnyeo commented 2 years ago

解决问题 #2

  1. python3版本,注释中的包pycrypto已经过时,无法安装。改为pycryptodome。
  2. 运行的时候报错“Object type <class 'str'> cannot be passed to C code”,需要utf8编码。
chzealot commented 1 year ago

该问题在主干中已经被修复,感谢建议。推荐使用 Stream Mode,接入跟便捷,部署更灵活:https://open.dingtalk.com/document/orgapp/stream