版权声明:本文为原创文章,未经允许不得转载。
tp5框架下的代码片段
/**
* 验证回调URL
* 推送suite_ticket
*/
public function getSuiteTicket(){
$encodingAesKey = "";
$token = "";
$corpId = "";// 企业ID
$suiteId = '';// 应用id
$sVerifyMsgSig = $_GET['msg_signature'];
$sVerifyTimeStamp = $_GET['timestamp'];
$sVerifyNonce = $_GET['nonce'];
include_once EXTEND_PATH."Weixin/WXBizMsgCrypt.php";