code-lives/wxdecryptdata

this is getwxphone

1.0 2021-03-08 11:37 UTC

This package is auto-updated.

Last update: 2024-11-08 19:26:35 UTC


README

初始化

$WXgetPhone = new \WXBizDataCrypt\Phone\WXgetPhone($appid,$session_key);

这是解密 data是空

$errCode=$WXgetPhone->decryptData($encryptedData, $iv, $data);

结果

$errCode ==0 表示解密成功

$data = json_decode($data, true);