作者 lyh

gx

@@ -209,7 +209,7 @@ class ImageController extends Controller @@ -209,7 +209,7 @@ class ImageController extends Controller
209 if($this->upload_location == 0){ 209 if($this->upload_location == 0){
210 $watermarkOptions = $this->getProjectConfig($this->cache['project_id'] ?? 0); 210 $watermarkOptions = $this->getProjectConfig($this->cache['project_id'] ?? 0);
211 $cosService = new CosService(); 211 $cosService = new CosService();
212 - $cosService->uploadFile($file,$this->path,$fileName,false,$watermarkOptions); 212 + $cosService->uploadFile($files,$this->path,$fileName,false,$watermarkOptions);
213 }else{ 213 }else{
214 //TODO::上传亚马逊 214 //TODO::上传亚马逊
215 $amazonS3Service = new AmazonS3Service(); 215 $amazonS3Service = new AmazonS3Service();