Commit 7a46e30c authored by zhoujun's avatar zhoujun

Merge branch 'test'

parents 17dfde88 cfe1e462
......@@ -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