- 物流助手-即时配送 如何申请开通?
申请开通即时配送接口,APPID:wx71c7bde55e282298 小程序名称:新疆土特
2020-09-14 - 物流助手-即时配送 如何申请开通?
申请开通即时配送接口,APPID:wx99647c70890961ff 小程序名称:蓓蕾商城
2020-09-14 - workerman苹果手机链接有问题?
为什么我的安卓手机链接上没事可以正常链接,苹果手机链接不上workerman.求解
2020-06-19 - 小程序背景音乐为什么不能播放?
开发工具上测试的是没有问题的背景音乐正常播放,但是真机调试的时候背景音乐不播放。
2020-06-18 - 微信小程序订单提醒公能,小程序关闭怎么继续接收语音提醒?
商户收到订单,提醒语音提示,小程序关闭是怎么才能继续收到订单的语音提醒
2020-05-15 - 企业付款,签名错误,怎么回事?
使用官方的签名工具提示校验通过,但是接口返回的是签名错误!
2020-04-26 - 微信分账接口为什么一直返回可分账金额不足?
确认是分账比例是没有超过的,但是一直提示可分账金额不足
2020-04-25 - 可分账金额不足?
为什么我的订单是50的,分账才分1块钱就提示可分账金额不足?
2020-04-25 - 微信步数获取解密数据为空
public function bushu(){ $appid = 'wxfb82d9e33c0f8167'; $sessionKey = 'CBC5sc1aBK8iwI3NJlYGgw=='; $encryptedData="wiFHxHh8tVMLk8wZIjPo2IAE1MInz9J6F1LrY5Pw9wHC+4XJoa/Fh1NIv8S1JO+TrExtrnDEDJyFh9aflO1BKa1pvyUzUJtXV5wcqG2FLyLe+XKdMiJx9/v4fFxwnGpjRTpcyrwFH+2MuTfP4vymws7Ne9WRQqWqi/Gbqc97cN/Qm9bD3Ey1Vh0DGdIXXgR+NrLGfmqukFpE3W0gWiWzNkl5GpUTVbGPXTjlyEVM2CLv3FAziGiUx0QaAQy4DQQwQCXlWsinOvDI1PzZj1Ggh+IdLkcDaokfQcVCsdEr8ZHmOssUob1MgRVAll/+sIN4CjspnqWSHTYPGVZnGTUC+QNqZ5tNT1Sc91fHZM10Bkbl+0ebBvksSQPHH3p3XW0DUZ+sf7pK5tilI2CdP1g00uEMUz1pycJMVqNivHyofWuE6wmOk4Lsy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F6FoYKqs3skUSI+V7GBiMHzsczSDn0/7+tUS3Ri1Tx23ZMnlHtFvfWFVIs9N2zbMJGcZC2xeB7Znn4CHCibIHlx1pj0YbDmT6iAVUn9L1jVMT1fJXfIk3Q="; $iv = 'N7reVcfDiKSeT4JY7LsdEA=='; $errCode = $this->jiemi($appid, $sessionKey,$encryptedData, $iv, $data); if ($errCode == 0) { print($data . "\n"); } else { print($errCode . "\n"); } } public function jiemi($appid,$sessionKey,$encryptedData, $iv, &$data){ if (strlen($sessionKey) != 24) { return ErrorCode::$IllegalAesKey; } $aesKey=base64_decode($sessionKey); if (strlen($iv) != 24) { return ErrorCode::$IllegalIv; } $aesIV=base64_decode($iv); $aesCipher=base64_decode($encryptedData); $result=openssl_decrypt( $aesCipher, "AES-128-CBC", $aesKey, 1, $aesIV); $dataObj=json_decode( $result ); if( $dataObj == NULL ) { return ErrorCode::$IllegalBuffer; } if( $dataObj->watermark->appid != $appid ) { return ErrorCode::$IllegalBuffer; } $data = $result; return ErrorCode::$OK; }
2020-04-03