<?php include_once "wxBizDataCrypt.php"; $appid = 'APPID'; $sessionKey = '密钥'; $encryptedData=""; $iv = 'r7BXXKkLb8qrSNn05n0qiA=='; $pc = new WXBizDataCrypt($appid, $sessionKey); $errCode = $pc->decryptData($encryptedData, $iv, $data ); if ($errCode == 0) { print($data . "\n"); } else { print($errCode . "\n"); }
小程序登录
最新推荐文章于 2023-02-12 17:06:32 发布