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