作者 lyh

gx

@@ -154,8 +154,6 @@ class ImageController extends Controller @@ -154,8 +154,6 @@ class ImageController extends Controller
154 $fileName = uniqid().rand(10000,99999).'.'.$files->getClientOriginalExtension(); 154 $fileName = uniqid().rand(10000,99999).'.'.$files->getClientOriginalExtension();
155 //同步数据到cos 155 //同步数据到cos
156 if($this->upload_location == 1){ 156 if($this->upload_location == 1){
157 - var_dump(11111);  
158 - die();  
159 $cosService = new CosService(); 157 $cosService = new CosService();
160 $cosService->uploadFile($files,$this->path,$fileName); 158 $cosService->uploadFile($files,$this->path,$fileName);
161 }else{ 159 }else{