fly vor 4 Jahren
Ursprung
Commit
38776f5e62
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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';
     }