正在显示
1 个修改的文件
包含
0 行增加
和
2 行删除
| @@ -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{ |
-
请 注册 或 登录 后发表评论