作者 lyh

gx

@@ -96,8 +96,6 @@ class DomainInfo extends Command @@ -96,8 +96,6 @@ class DomainInfo extends Command
96 'cert' => '' 96 'cert' => ''
97 ]; 97 ];
98 $result = $this->curlRequest($url, $param); 98 $result = $this->curlRequest($url, $param);
99 - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($result, true) . PHP_EOL, FILE_APPEND);  
100 - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($param['domain'], true) . PHP_EOL, FILE_APPEND);  
101 } 99 }
102 100
103 public static function getTopDomain ($url) { 101 public static function getTopDomain ($url) {
@@ -305,7 +305,6 @@ class FileController @@ -305,7 +305,6 @@ class FileController
305 public function setUrl(){ 305 public function setUrl(){
306 //A端上传 306 //A端上传
307 if(isset($this->param['refer_type']) && $this->param['refer_type'] == 1){ 307 if(isset($this->param['refer_type']) && $this->param['refer_type'] == 1){
308 - @file_put_contents(storage_path('logs/lyh_error.log'), var_export('进入222', true) . PHP_EOL, FILE_APPEND);  
309 $this->path = $this->uploads['path_a'].'/'.$this->file_type[$this->param['refer']].'/'.date('Y-m'); 308 $this->path = $this->uploads['path_a'].'/'.$this->file_type[$this->param['refer']].'/'.date('Y-m');
310 }else{ 309 }else{
311 //B端上传,upload_method 为 1时 强制上传到本地 310 //B端上传,upload_method 为 1时 强制上传到本地