Commit cfe1e462 authored by zhoujun's avatar zhoujun

文件

parent 4573e02b
......@@ -38,8 +38,8 @@ class UploadServer
return $array;
}
$originName = $file->getClientOriginalName();
self::getCheckDir(public_path(),'card');
$fileUrl = self::getUploadFile($file,'card','aldzn-img',$originName);
self::getCheckDir(public_path(),'cardImg');
$fileUrl = self::getUploadFile($file,'cardImg','aldzn-img',$originName);
if($fileUrl['error'] != ''){
$array['code'] = 10059;
$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