Commit 62be5357 authored by liyadong's avatar liyadong

Merge branch 'test' of http://gitlab.cccwangluo.com/zhoujun/uc_card into test

parents 96e2b640 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