兼容修改
This commit is contained in:
@@ -19,13 +19,13 @@ class UniCallBackController extends Frontend
|
|||||||
public function adCallBack()
|
public function adCallBack()
|
||||||
{
|
{
|
||||||
$params = [
|
$params = [
|
||||||
'adpid' => $this->request->param('adpid'),
|
'adpid' => $this->request->get('adpid'),
|
||||||
'provider' => $this->request->param('provider'),
|
'provider' => $this->request->get('provider'),
|
||||||
'platform' => $this->request->param('platform'),
|
'platform' => $this->request->get('platform'),
|
||||||
'sign' => $this->request->param('sign'),
|
'sign' => $this->request->get('sign'),
|
||||||
'trans_id' => $this->request->param('trans_id'),
|
'trans_id' => $this->request->get('trans_id'),
|
||||||
'user_id' => $this->request->param('user_id'),
|
'user_id' => $this->request->get('user_id'),
|
||||||
'extra' => $this->request->param('extra', '') // 可选参数,默认空字符串
|
'extra' => $this->request->get('extra', '') // 可选参数,默认空字符串
|
||||||
];
|
];
|
||||||
// 记录日志
|
// 记录日志
|
||||||
Log::info("接收到uni-ad广告完播回调,回调信息: " . json_encode($params));
|
Log::info("接收到uni-ad广告完播回调,回调信息: " . json_encode($params));
|
||||||
|
|||||||
Reference in New Issue
Block a user