添加日志
This commit is contained in:
parent
eb30849646
commit
7bdceae628
@ -4,6 +4,7 @@ namespace app\controller\api;
|
|||||||
|
|
||||||
use app\common\dao\store\consumption\CommissionDao;
|
use app\common\dao\store\consumption\CommissionDao;
|
||||||
use crmeb\basic\BaseController;
|
use crmeb\basic\BaseController;
|
||||||
|
use think\facade\Log;
|
||||||
|
|
||||||
class Open extends BaseController
|
class Open extends BaseController
|
||||||
{
|
{
|
||||||
@ -19,6 +20,7 @@ class Open extends BaseController
|
|||||||
{
|
{
|
||||||
$timestamp = $this->request->post('timestamp');
|
$timestamp = $this->request->post('timestamp');
|
||||||
$data = $this->request->post('data');
|
$data = $this->request->post('data');
|
||||||
|
Log::error('供销平台佣金回调:' . $data);
|
||||||
$aes = new \AES();
|
$aes = new \AES();
|
||||||
$iv = !empty($timestamp) ? $aes->buildIv($timestamp) : '';
|
$iv = !empty($timestamp) ? $aes->buildIv($timestamp) : '';
|
||||||
$decrypted = $aes->decrypt($data, $iv);
|
$decrypted = $aes->decrypt($data, $iv);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user