作者 李宇航

合并分支 'lyh-server' 到 'master'

未续费项目增加搜索



查看合并请求 !2661
@@ -132,7 +132,7 @@ class FileController @@ -132,7 +132,7 @@ class FileController
132 $amazonS3Service->uploadFiles($files,$this->path,$fileName); 132 $amazonS3Service->uploadFiles($files,$this->path,$fileName);
133 } 133 }
134 $this->saveMysql($fileModel,$files->getSize(),$files->getClientOriginalExtension(),$fileName,$hash,$this->upload_location,$files->getMimeType(),$name); 134 $this->saveMysql($fileModel,$files->getSize(),$files->getClientOriginalExtension(),$fileName,$hash,$this->upload_location,$files->getMimeType(),$name);
135 - $this->synchronizationFile($fileName,$this->upload_location); 135 +// $this->synchronizationFile($fileName,$this->upload_location);
136 $this->response('资源',Code::SUCCESS,$this->responseData($this->path.'/'.$fileName, $name)); 136 $this->response('资源',Code::SUCCESS,$this->responseData($this->path.'/'.$fileName, $name));
137 } 137 }
138 138
@@ -306,7 +306,7 @@ class FileController @@ -306,7 +306,7 @@ class FileController
306 $mime = $file->getMimeType(); 306 $mime = $file->getMimeType();
307 $this->saveMysql($fileModel,$size,$file_type,$fileName,$hash,$this->upload_location,$mime,$name); 307 $this->saveMysql($fileModel,$size,$file_type,$fileName,$hash,$this->upload_location,$mime,$name);
308 $data[] = $this->responseData($this->path.'/'.$fileName, $name); 308 $data[] = $this->responseData($this->path.'/'.$fileName, $name);
309 - $this->synchronizationFile($fileName,$this->upload_location); 309 +// $this->synchronizationFile($fileName,$this->upload_location);
310 } 310 }
311 $this->response('资源',Code::SUCCESS,$data); 311 $this->response('资源',Code::SUCCESS,$data);
312 } 312 }