yingzi hace 2 años
padre
commit
e1398cc07d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/system/controller/Upload.php

+ 1 - 1
app/system/controller/Upload.php

@@ -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()]);
     }