正在显示
1 个修改的文件
包含
0 行增加
和
1 行删除
| @@ -197,7 +197,6 @@ class ImageController extends Controller | @@ -197,7 +197,6 @@ class ImageController extends Controller | ||
| 197 | $image_type = $files->getClientOriginalExtension(); | 197 | $image_type = $files->getClientOriginalExtension(); |
| 198 | $fileName = uniqid().rand(10000,99999).'.'.$image_type; | 198 | $fileName = uniqid().rand(10000,99999).'.'.$image_type; |
| 199 | //上传到cos | 199 | //上传到cos |
| 200 | - //TODO::设置上传文件大小 | ||
| 201 | if($this->upload_location == 1){ | 200 | if($this->upload_location == 1){ |
| 202 | $cosService = new CosService(); | 201 | $cosService = new CosService(); |
| 203 | $cosService->uploadFile($files,$this->path,$fileName); | 202 | $cosService->uploadFile($files,$this->path,$fileName); |
-
请 注册 或 登录 后发表评论