fly 4 年之前
父節點
當前提交
38776f5e62
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/Controllers/BaseControllerConfig.php
  2. 1 1
      src/Services/Report/BaiduReport.php

+ 1 - 1
src/Controllers/BaseControllerConfig.php

@@ -26,7 +26,7 @@ trait BaseControllerConfig
 {
     public function __get($name)
     {
-        if (!isset($this->field[$name])) {
+        if (!isset($this->$name)) {
             return $this->$name();
         }
     }

+ 1 - 1
src/Services/Report/BaiduReport.php

@@ -14,7 +14,7 @@ class BaiduReport extends BaseReport
     public function __construct()
     {
         $this->charge_event_type = 19;
-        $this->register_event_type = 3;
+        $this->register_event_type = 16;
         $this->report_url = 'https://ocpc.baidu.com/ocpcapi/api/uploadConvertData';
     }