|
...
|
...
|
@@ -217,7 +217,6 @@ class ImageController extends Controller |
|
|
|
* @time :2023/6/17 16:31
|
|
|
|
*/
|
|
|
|
private function multi(&$files) {
|
|
|
|
$save_data = [];//保存数据
|
|
|
|
$data = [];
|
|
|
|
foreach ($files as $file) {
|
|
|
|
$size = $file->getSize();
|
|
...
|
...
|
@@ -316,7 +315,7 @@ class ImageController extends Controller |
|
|
|
$this->path = $this->uploads['path_a'].'/'.$this->image_type[$this->param['refer']].'/'.date('Y-m');
|
|
|
|
}else{
|
|
|
|
//B端上传
|
|
|
|
if(!isset($this->param['upload_method']) && $this->param['upload_method'] == 1){
|
|
|
|
if(isset($this->param['upload_method']) && $this->param['upload_method'] == 1){
|
|
|
|
//强制上传本地配置
|
|
|
|
$this->upload_location = 0;
|
|
|
|
}else{
|
...
|
...
|
|