diff --git a/library/pinduoduo/pdd_api.php b/library/pinduoduo/pdd_api.php index 1cfea4e..810cb91 100644 --- a/library/pinduoduo/pdd_api.php +++ b/library/pinduoduo/pdd_api.php @@ -363,7 +363,7 @@ class PDD { $this->request_headers[] = "X-PDD-PageCode:".$this->pagecode; } - error_log(date("Y-m-d H:i:s")."|".$this->request_url."|".json_encode($data)."|".json_encode($this->request_headers)."\n", 3, './postRequest.log'); + error_log(date("Y-m-d H:i:s")."|".$this->request_url."|".json_encode($data)."|".json_encode($this->request_headers)."\n", 3, './logs/postRequest.log'); curl_setopt($ch, CURLOPT_HTTPHEADER, $this->request_headers);