|
|
@@ -99,7 +99,7 @@ class Upload extends AuthController{
|
|
|
return app('json')->fail("上传失败01");
|
|
|
}
|
|
|
$savePath = '/resource/' . $upPath;
|
|
|
- return app('json')->success(['cert'=>$savePath,"type"=>$type]);
|
|
|
+ return app('json')->success(['cert'=>$savePath,"type"=>$type,"name"=>$file->getBasename()]);
|
|
|
}
|
|
|
|
|
|
|