添加日志

This commit is contained in:
luofei 2024-01-26 11:48:54 +08:00
parent eb30849646
commit 7bdceae628

View File

@ -4,6 +4,7 @@ namespace app\controller\api;
use app\common\dao\store\consumption\CommissionDao;
use crmeb\basic\BaseController;
use think\facade\Log;
class Open extends BaseController
{
@ -19,6 +20,7 @@ class Open extends BaseController
{
$timestamp = $this->request->post('timestamp');
$data = $this->request->post('data');
Log::error('供销平台佣金回调:' . $data);
$aes = new \AES();
$iv = !empty($timestamp) ? $aes->buildIv($timestamp) : '';
$decrypted = $aes->decrypt($data, $iv);