Commit cfe1e462 authored by zhoujun's avatar zhoujun

文件

parent 4573e02b
...@@ -38,8 +38,8 @@ class UploadServer ...@@ -38,8 +38,8 @@ class UploadServer
return $array; return $array;
} }
$originName = $file->getClientOriginalName(); $originName = $file->getClientOriginalName();
self::getCheckDir(public_path(),'card'); self::getCheckDir(public_path(),'cardImg');
$fileUrl = self::getUploadFile($file,'card','aldzn-img',$originName); $fileUrl = self::getUploadFile($file,'cardImg','aldzn-img',$originName);
if($fileUrl['error'] != ''){ if($fileUrl['error'] != ''){
$array['code'] = 10059; $array['code'] = 10059;
$array['msg'] = $fileUrl['error']; $array['msg'] = $fileUrl['error'];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment