正在显示
1 个修改的文件
包含
1 行增加
和
2 行删除
| @@ -217,7 +217,6 @@ class ImageController extends Controller | @@ -217,7 +217,6 @@ class ImageController extends Controller | ||
| 217 | * @time :2023/6/17 16:31 | 217 | * @time :2023/6/17 16:31 |
| 218 | */ | 218 | */ |
| 219 | private function multi(&$files) { | 219 | private function multi(&$files) { |
| 220 | - $save_data = [];//保存数据 | ||
| 221 | $data = []; | 220 | $data = []; |
| 222 | foreach ($files as $file) { | 221 | foreach ($files as $file) { |
| 223 | $size = $file->getSize(); | 222 | $size = $file->getSize(); |
| @@ -316,7 +315,7 @@ class ImageController extends Controller | @@ -316,7 +315,7 @@ class ImageController extends Controller | ||
| 316 | $this->path = $this->uploads['path_a'].'/'.$this->image_type[$this->param['refer']].'/'.date('Y-m'); | 315 | $this->path = $this->uploads['path_a'].'/'.$this->image_type[$this->param['refer']].'/'.date('Y-m'); |
| 317 | }else{ | 316 | }else{ |
| 318 | //B端上传 | 317 | //B端上传 |
| 319 | - if(!isset($this->param['upload_method']) && $this->param['upload_method'] == 1){ | 318 | + if(isset($this->param['upload_method']) && $this->param['upload_method'] == 1){ |
| 320 | //强制上传本地配置 | 319 | //强制上传本地配置 |
| 321 | $this->upload_location = 0; | 320 | $this->upload_location = 0; |
| 322 | }else{ | 321 | }else{ |
-
请 注册 或 登录 后发表评论