yzms/show/WXBizMsgCrypt/Readme.txt

4 lines
449 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

注意事项:
1.WXBizMsgCrypt.php文件提供了WXBizMsgCrypt类的实现是用户接入企业微信的接口类。Sample.php提供了示例以供开发者参考。errorCode.php, pkcs7Encoder.php, sha1.php, xmlparse.php文件是实现这个类的辅助类开发者无须关心其具体实现。
2.WXBizMsgCrypt类封装了VerifyURL, DecryptMsg, EncryptMsg三个接口分别用于开发者验证回调url收到用户回复消息的解密以及开发者回复消息的加密过程。使用方法可以参考Sample.php文件。
3.加解密协议请参考企业微信官方文档。