作者 lyh

gx

@@ -320,7 +320,7 @@ class FileController @@ -320,7 +320,7 @@ class FileController
320 $this->path = $this->uploads['path_a'].'/'.$this->file_type[$this->param['refer']].'/'.date('Y-m'); 320 $this->path = $this->uploads['path_a'].'/'.$this->file_type[$this->param['refer']].'/'.date('Y-m');
321 }else{ 321 }else{
322 //B端上传 322 //B端上传
323 - if(!isset($this->param['upload_method']) && $this->param['upload_method'] == 1){ 323 + if(isset($this->param['upload_method']) && $this->param['upload_method'] == 1){
324 //强制上传本地配置 324 //强制上传本地配置
325 $this->upload_location = 0; 325 $this->upload_location = 0;
326 }else{ 326 }else{